public class ChartItemProviderAdapterFactory extends ChartAdapterFactory
fireNotifyChanged.
The adapters also support Eclipse property sheets.
Note that most of the adapters are shared among multiple instances.
| Modifier and Type | Class and Description |
|---|---|
static class |
ChartItemProviderAdapterFactory.VisualInterfaceChildCreationExtender
A child creation extender for the
VisualInterfacePackage. |
| Modifier and Type | Field and Description |
|---|---|
protected IChangeNotifier |
changeNotifier
This is used to implement
org.eclipse.emf.edit.provider.IChangeNotifier. |
protected ChartViewItemProvider |
chartViewItemProvider
This keeps track of the one adapter used for all
ChartView instances. |
protected ChildCreationExtenderManager |
childCreationExtenderManager
This helps manage the child creation extenders.
|
protected ComposedAdapterFactory |
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.
|
protected java.util.Collection<java.lang.Object> |
supportedTypes
This keeps track of all the supported types checked by
isFactoryForType. |
modelPackage, modelSwitch| Constructor and Description |
|---|
ChartItemProviderAdapterFactory()
This constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
adapt(Notifier notifier,
java.lang.Object type)
This implementation substitutes the factory itself as the key for the adapter.
|
void |
addListener(INotifyChangedListener notifyChangedListener)
This adds a listener.
|
Adapter |
createChartViewAdapter()
This creates an adapter for a
ChartView. |
void |
dispose()
This disposes all of the item providers created by this factory.
|
void |
fireNotifyChanged(Notification notification)
This delegates to
changeNotifier and to parentAdapterFactory. |
java.util.List<IChildCreationExtender> |
getChildCreationExtenders() |
java.util.Collection<?> |
getNewChildDescriptors(java.lang.Object object,
EditingDomain editingDomain) |
ResourceLocator |
getResourceLocator() |
ComposeableAdapterFactory |
getRootAdapterFactory()
This returns the root adapter factory that contains this factory.
|
boolean |
isFactoryForType(java.lang.Object type) |
void |
removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener.
|
void |
setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.
|
createAdapter, createEObjectAdapter, createFigureAdapter, createPrimitiveAdapterprotected ComposedAdapterFactory parentAdapterFactory
protected IChangeNotifier changeNotifier
org.eclipse.emf.edit.provider.IChangeNotifier.
protected ChildCreationExtenderManager childCreationExtenderManager
protected java.util.Collection<java.lang.Object> supportedTypes
isFactoryForType.
protected ChartViewItemProvider chartViewItemProvider
ChartView instances.
public ChartItemProviderAdapterFactory()
public Adapter createChartViewAdapter()
ChartView.
createChartViewAdapter in class ChartAdapterFactoryChartViewpublic ComposeableAdapterFactory getRootAdapterFactory()
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
public boolean isFactoryForType(java.lang.Object type)
isFactoryForType in class ChartAdapterFactorypublic Adapter adapt(Notifier notifier,
java.lang.Object type)
public java.util.List<IChildCreationExtender> getChildCreationExtenders()
public java.util.Collection<?> getNewChildDescriptors(java.lang.Object object,
EditingDomain editingDomain)
public ResourceLocator getResourceLocator()
public void addListener(INotifyChangedListener notifyChangedListener)
public void removeListener(INotifyChangedListener notifyChangedListener)
public void fireNotifyChanged(Notification notification)
changeNotifier and to parentAdapterFactory.
public void dispose()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0