Class QMLContractTypeItemProviderAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
de.uka.ipd.sdq.dsexplore.qml.contracttype.QMLContractType.util.QMLContractTypeAdapterFactory
de.uka.ipd.sdq.dsexplore.qml.contracttype.QMLContractType.provider.QMLContractTypeItemProviderAdapterFactory
- All Implemented Interfaces:
AdapterFactory
,ComposeableAdapterFactory
,IChangeNotifier
,IDisposable
public class QMLContractTypeItemProviderAdapterFactory
extends QMLContractTypeAdapterFactory
implements ComposeableAdapterFactory, IChangeNotifier, IDisposable
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.
- Generated class or method.
-
Field Summary
Modifier and TypeFieldDescriptionprotected IChangeNotifier
This is used to implementIChangeNotifier
.protected DimensionItemProvider
This keeps track of the one adapter used for allDimension
instances.protected DimensionTypeEnumItemProvider
This keeps track of the one adapter used for allDimensionTypeEnum
instances.protected DimensionTypeNumericItemProvider
This keeps track of the one adapter used for allDimensionTypeNumeric
instances.protected DimensionTypeRepositoryItemProvider
This keeps track of the one adapter used for allDimensionTypeRepository
instances.protected DimensionTypeScaleItemProvider
This keeps track of the one adapter used for allDimensionTypeScale
instances.protected DimensionTypeSetItemProvider
This keeps track of the one adapter used for allDimensionTypeSet
instances.protected ElementItemProvider
This keeps track of the one adapter used for allElement
instances.protected NumericRangeItemProvider
This keeps track of the one adapter used for allNumericRange
instances.protected OrderItemProvider
This keeps track of the one adapter used for allOrder
instances.protected ComposedAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected QMLContractTypeItemProvider
This keeps track of the one adapter used for allQMLContractType
instances.protected RelationSemanticsItemProvider
This keeps track of the one adapter used for allRelationSemantics
instances.protected ScaleElementItemProvider
This keeps track of the one adapter used for allScaleElement
instances.protected Collection<Object>
This keeps track of all the supported types checked byisFactoryForType
.protected UnitItemProvider
This keeps track of the one adapter used for allUnit
instances.protected UnitRepositoryItemProvider
This keeps track of the one adapter used for allUnitRepository
instances.Fields inherited from class de.uka.ipd.sdq.dsexplore.qml.contracttype.QMLContractType.util.QMLContractTypeAdapterFactory
modelPackage, modelSwitch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis implementation substitutes the factory itself as the key for the adapter.void
addListener
(INotifyChangedListener notifyChangedListener) This adds a listener.This creates an adapter for aDimension
.This creates an adapter for aDimensionTypeEnum
.This creates an adapter for aDimensionTypeNumeric
.This creates an adapter for aDimensionTypeRepository
.This creates an adapter for aDimensionTypeScale
.This creates an adapter for aDimensionTypeSet
.This creates an adapter for aElement
.This creates an adapter for aNumericRange
.This creates an adapter for aOrder
.This creates an adapter for aQMLContractType
.This creates an adapter for aRelationSemantics
.This creates an adapter for aScaleElement
.This creates an adapter for aUnit
.This creates an adapter for aUnitRepository
.void
dispose()
This disposes all of the item providers created by this factory.void
fireNotifyChanged
(Notification notification) This delegates tochangeNotifier
and toparentAdapterFactory
.This returns the root adapter factory that contains this factory.boolean
isFactoryForType
(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 de.uka.ipd.sdq.dsexplore.qml.contracttype.QMLContractType.util.QMLContractTypeAdapterFactory
createAdapter, createDimensionTypeAdapter, createEntityAdapter, createEObjectAdapter, createIdentifierAdapter, createNamedElementAdapter, createQMLDeclarationAdapter
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 Details
-
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.- Generated class or method.
-
changeNotifier
This is used to implementIChangeNotifier
.- Generated class or method.
-
supportedTypes
This keeps track of all the supported types checked byisFactoryForType
.- Generated class or method.
-
dimensionTypeSetItemProvider
This keeps track of the one adapter used for allDimensionTypeSet
instances.- Generated class or method.
-
relationSemanticsItemProvider
This keeps track of the one adapter used for allRelationSemantics
instances.- Generated class or method.
-
elementItemProvider
This keeps track of the one adapter used for allElement
instances.- Generated class or method.
-
orderItemProvider
This keeps track of the one adapter used for allOrder
instances.- Generated class or method.
-
dimensionTypeEnumItemProvider
This keeps track of the one adapter used for allDimensionTypeEnum
instances.- Generated class or method.
-
unitItemProvider
This keeps track of the one adapter used for allUnit
instances.- Generated class or method.
-
dimensionTypeNumericItemProvider
This keeps track of the one adapter used for allDimensionTypeNumeric
instances.- Generated class or method.
-
numericRangeItemProvider
This keeps track of the one adapter used for allNumericRange
instances.- Generated class or method.
-
qmlContractTypeItemProvider
This keeps track of the one adapter used for allQMLContractType
instances.- Generated class or method.
-
unitRepositoryItemProvider
This keeps track of the one adapter used for allUnitRepository
instances.- Generated class or method.
-
dimensionTypeRepositoryItemProvider
This keeps track of the one adapter used for allDimensionTypeRepository
instances.- Generated class or method.
-
dimensionItemProvider
This keeps track of the one adapter used for allDimension
instances.- Generated class or method.
-
dimensionTypeScaleItemProvider
This keeps track of the one adapter used for allDimensionTypeScale
instances.- Generated class or method.
-
scaleElementItemProvider
This keeps track of the one adapter used for allScaleElement
instances.- Generated class or method.
-
-
Constructor Details
-
QMLContractTypeItemProviderAdapterFactory
public QMLContractTypeItemProviderAdapterFactory()This constructs an instance.- Generated class or method.
-
-
Method Details
-
createDimensionTypeSetAdapter
This creates an adapter for aDimensionTypeSet
.- Overrides:
createDimensionTypeSetAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createRelationSemanticsAdapter
This creates an adapter for aRelationSemantics
.- Overrides:
createRelationSemanticsAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createElementAdapter
This creates an adapter for aElement
.- Overrides:
createElementAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createOrderAdapter
This creates an adapter for aOrder
.- Overrides:
createOrderAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDimensionTypeEnumAdapter
This creates an adapter for aDimensionTypeEnum
.- Overrides:
createDimensionTypeEnumAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createUnitAdapter
This creates an adapter for aUnit
.- Overrides:
createUnitAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDimensionTypeNumericAdapter
This creates an adapter for aDimensionTypeNumeric
.- Overrides:
createDimensionTypeNumericAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNumericRangeAdapter
This creates an adapter for aNumericRange
.- Overrides:
createNumericRangeAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createQMLContractTypeAdapter
This creates an adapter for aQMLContractType
.- Overrides:
createQMLContractTypeAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createUnitRepositoryAdapter
This creates an adapter for aUnitRepository
.- Overrides:
createUnitRepositoryAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDimensionTypeRepositoryAdapter
This creates an adapter for aDimensionTypeRepository
.- Overrides:
createDimensionTypeRepositoryAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDimensionAdapter
This creates an adapter for aDimension
.- Overrides:
createDimensionAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDimensionTypeScaleAdapter
This creates an adapter for aDimensionTypeScale
.- Overrides:
createDimensionTypeScaleAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createScaleElementAdapter
This creates an adapter for aScaleElement
.- Overrides:
createScaleElementAdapter
in classQMLContractTypeAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
getRootAdapterFactory
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
setParentAdapterFactory
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
isFactoryForType
- Specified by:
isFactoryForType
in interfaceAdapterFactory
- Overrides:
isFactoryForType
in classQMLContractTypeAdapterFactory
- Returns:
- whether this factory is applicable for the type of the object.
- Generated class or method.
-
adapt
This implementation substitutes the factory itself as the key for the adapter.- Specified by:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated class or method.
-
adapt
- Specified by:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated class or method.
-
addListener
This adds a listener.- Specified by:
addListener
in interfaceIChangeNotifier
- Generated class or method.
-
removeListener
This removes a listener.- Specified by:
removeListener
in interfaceIChangeNotifier
- Generated class or method.
-
fireNotifyChanged
This delegates tochangeNotifier
and toparentAdapterFactory
.- Specified by:
fireNotifyChanged
in interfaceIChangeNotifier
- Generated class or method.
-
dispose
public void dispose()This disposes all of the item providers created by this factory.- Specified by:
dispose
in interfaceIDisposable
- Generated class or method.
-