|
Generators | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.topcased.modeler.diagramconfigurator.util.DiagramconfiguratorAdapterFactory
org.topcased.modeler.diagramconfigurator.provider.DiagramconfiguratorItemProviderAdapterFactory
public class DiagramconfiguratorItemProviderAdapterFactory
This is the factory that is used to provide the interfaces needed to support Viewers. The adapters generated by this
factory convert EMF adapter notifications into calls to fireNotifyChanged. The adapters
also support Eclipse property sheets. Note that most of the adapters are shared among multiple instances.
| Field Summary | |
|---|---|
protected IChangeNotifier |
changeNotifier
This is used to implement IChangeNotifier. |
protected ConstraintItemProvider |
constraintItemProvider
This keeps track of the one adapter used for all Constraint
instances. |
protected DiagramConfigurationItemProvider |
diagramConfigurationItemProvider
This keeps track of the one adapter used for all DiagramConfiguration instances. |
protected DiagramReferenceItemProvider |
diagramReferenceItemProvider
This keeps track of the one adapter used for all DiagramReference instances. |
protected EdgeObjectItemProvider |
edgeObjectItemProvider
This keeps track of the one adapter used for all EdgeObject
instances. |
protected EdgePartConfigurationItemProvider |
edgePartConfigurationItemProvider
This keeps track of the one adapter used for all EdgePartConfiguration instances. |
protected ModelObjectConfigurationItemProvider |
modelObjectConfigurationItemProvider
This keeps track of the one adapter used for all ModelObjectConfiguration instances. |
protected NodePartConfigurationItemProvider |
nodePartConfigurationItemProvider
This keeps track of the one adapter used for all NodePartConfiguration instances. |
protected PaletteCategoryItemProvider |
paletteCategoryItemProvider
This keeps track of the one adapter used for all PaletteCategory
instances. |
protected PaletteConfigurationItemProvider |
paletteConfigurationItemProvider
This keeps track of the one adapter used for all PaletteConfiguration instances. |
protected PaletteItemItemProvider |
paletteItemItemProvider
This keeps track of the one adapter used for all PaletteItem
instances. |
protected ComposedAdapterFactory |
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory. |
protected PartActionItemProvider |
partActionItemProvider
This keeps track of the one adapter used for all PartAction
instances. |
protected SimpleObjectConfigurationItemProvider |
simpleObjectConfigurationItemProvider
This keeps track of the one adapter used for all SimpleObjectConfiguration instances. |
protected SourceTargetCoupleItemProvider |
sourceTargetCoupleItemProvider
This keeps track of the one adapter used for all SourceTargetCouple instances. |
protected java.util.Collection<java.lang.Object> |
supportedTypes
This keeps track of all the supported types checked by isFactoryForType. |
| Fields inherited from class org.topcased.modeler.diagramconfigurator.util.DiagramconfiguratorAdapterFactory |
|---|
modelPackage, modelSwitch |
| Constructor Summary | |
|---|---|
DiagramconfiguratorItemProviderAdapterFactory()
This constructs an instance. |
|
| Method Summary | |
|---|---|
Adapter |
adapt(Notifier notifier,
java.lang.Object type)
This implementation substitutes the factory itself as the key for the adapter. |
java.lang.Object |
adapt(java.lang.Object object,
java.lang.Object type)
|
void |
addListener(INotifyChangedListener notifyChangedListener)
This adds a listener. |
Adapter |
createConstraintAdapter()
This creates an adapter for a Constraint. |
Adapter |
createDiagramConfigurationAdapter()
This creates an adapter for a DiagramConfiguration. |
Adapter |
createDiagramReferenceAdapter()
This creates an adapter for a DiagramReference. |
Adapter |
createEdgeObjectAdapter()
This creates an adapter for a EdgeObject. |
Adapter |
createEdgePartConfigurationAdapter()
This creates an adapter for a EdgePartConfiguration. |
Adapter |
createModelObjectConfigurationAdapter()
This creates an adapter for a ModelObjectConfiguration. |
Adapter |
createNodePartConfigurationAdapter()
This creates an adapter for a NodePartConfiguration. |
Adapter |
createPaletteCategoryAdapter()
This creates an adapter for a PaletteCategory. |
Adapter |
createPaletteConfigurationAdapter()
This creates an adapter for a PaletteConfiguration. |
Adapter |
createPaletteItemAdapter()
This creates an adapter for a PaletteItem. |
Adapter |
createPartActionAdapter()
This creates an adapter for a PartAction. |
Adapter |
createSimpleObjectConfigurationAdapter()
This creates an adapter for a SimpleObjectConfiguration. |
Adapter |
createSourceTargetCoupleAdapter()
This creates an adapter for a SourceTargetCouple. |
void |
dispose()
This disposes all of the item providers created by this factory. |
void |
fireNotifyChanged(Notification notification)
This delegates to changeNotifier and to parentAdapterFactory. |
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. |
| Methods inherited from class org.topcased.modeler.diagramconfigurator.util.DiagramconfiguratorAdapterFactory |
|---|
createAdapter, createEModelElementAdapter, createEObjectAdapter, createObjectConfigurationAdapter, createPartConfigurationAdapter |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
|---|
adaptAllNew, adaptNew, associate, createAdapter, resolve |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.common.notify.AdapterFactory |
|---|
adaptAllNew, adaptNew |
| Field Detail |
|---|
protected ComposedAdapterFactory parentAdapterFactory
protected IChangeNotifier changeNotifier
IChangeNotifier.
protected java.util.Collection<java.lang.Object> supportedTypes
isFactoryForType.
protected DiagramConfigurationItemProvider diagramConfigurationItemProvider
DiagramConfiguration instances.
protected DiagramReferenceItemProvider diagramReferenceItemProvider
DiagramReference instances.
protected PaletteConfigurationItemProvider paletteConfigurationItemProvider
PaletteConfiguration instances.
protected PaletteCategoryItemProvider paletteCategoryItemProvider
PaletteCategory
instances.
protected NodePartConfigurationItemProvider nodePartConfigurationItemProvider
NodePartConfiguration instances.
protected EdgePartConfigurationItemProvider edgePartConfigurationItemProvider
EdgePartConfiguration instances.
protected EdgeObjectItemProvider edgeObjectItemProvider
EdgeObject
instances.
protected PaletteItemItemProvider paletteItemItemProvider
PaletteItem
instances.
protected SourceTargetCoupleItemProvider sourceTargetCoupleItemProvider
SourceTargetCouple instances.
protected ModelObjectConfigurationItemProvider modelObjectConfigurationItemProvider
ModelObjectConfiguration instances.
protected SimpleObjectConfigurationItemProvider simpleObjectConfigurationItemProvider
SimpleObjectConfiguration instances.
protected ConstraintItemProvider constraintItemProvider
Constraint
instances.
protected PartActionItemProvider partActionItemProvider
PartAction
instances.
| Constructor Detail |
|---|
public DiagramconfiguratorItemProviderAdapterFactory()
| Method Detail |
|---|
public Adapter createDiagramConfigurationAdapter()
DiagramConfiguration.
createDiagramConfigurationAdapter in class DiagramconfiguratorAdapterFactoryDiagramConfigurationpublic Adapter createDiagramReferenceAdapter()
DiagramReference.
createDiagramReferenceAdapter in class DiagramconfiguratorAdapterFactoryDiagramReferencepublic Adapter createPaletteConfigurationAdapter()
PaletteConfiguration.
createPaletteConfigurationAdapter in class DiagramconfiguratorAdapterFactoryPaletteConfigurationpublic Adapter createPaletteCategoryAdapter()
PaletteCategory.
createPaletteCategoryAdapter in class DiagramconfiguratorAdapterFactoryPaletteCategorypublic Adapter createNodePartConfigurationAdapter()
NodePartConfiguration.
createNodePartConfigurationAdapter in class DiagramconfiguratorAdapterFactoryNodePartConfigurationpublic Adapter createEdgePartConfigurationAdapter()
EdgePartConfiguration.
createEdgePartConfigurationAdapter in class DiagramconfiguratorAdapterFactoryEdgePartConfigurationpublic Adapter createEdgeObjectAdapter()
EdgeObject.
createEdgeObjectAdapter in class DiagramconfiguratorAdapterFactoryEdgeObjectpublic Adapter createPaletteItemAdapter()
PaletteItem.
createPaletteItemAdapter in class DiagramconfiguratorAdapterFactoryPaletteItempublic Adapter createSourceTargetCoupleAdapter()
SourceTargetCouple.
createSourceTargetCoupleAdapter in class DiagramconfiguratorAdapterFactorySourceTargetCouplepublic Adapter createModelObjectConfigurationAdapter()
ModelObjectConfiguration.
createModelObjectConfigurationAdapter in class DiagramconfiguratorAdapterFactoryModelObjectConfigurationpublic Adapter createSimpleObjectConfigurationAdapter()
SimpleObjectConfiguration.
createSimpleObjectConfigurationAdapter in class DiagramconfiguratorAdapterFactorySimpleObjectConfigurationpublic Adapter createConstraintAdapter()
Constraint.
createConstraintAdapter in class DiagramconfiguratorAdapterFactoryConstraintpublic Adapter createPartActionAdapter()
PartAction.
createPartActionAdapter in class DiagramconfiguratorAdapterFactoryPartActionpublic ComposeableAdapterFactory getRootAdapterFactory()
getRootAdapterFactory in interface ComposeableAdapterFactorypublic void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
setParentAdapterFactory in interface ComposeableAdapterFactorypublic boolean isFactoryForType(java.lang.Object type)
isFactoryForType in interface AdapterFactoryisFactoryForType in class DiagramconfiguratorAdapterFactory
public Adapter adapt(Notifier notifier,
java.lang.Object type)
adapt in interface AdapterFactoryadapt in class AdapterFactoryImpl
public java.lang.Object adapt(java.lang.Object object,
java.lang.Object type)
adapt in interface AdapterFactoryadapt in class AdapterFactoryImplpublic void addListener(INotifyChangedListener notifyChangedListener)
addListener in interface IChangeNotifierpublic void removeListener(INotifyChangedListener notifyChangedListener)
removeListener in interface IChangeNotifierpublic void fireNotifyChanged(Notification notification)
changeNotifier and to parentAdapterFactory.
fireNotifyChanged in interface IChangeNotifierpublic void dispose()
dispose in interface IDisposable
|
Generators | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.