Class QualityModelItemProviderAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.palladiosimulator.qualitymodel.util.QualityModelAdapterFactory
-
- org.palladiosimulator.qualitymodel.provider.QualityModelItemProviderAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory,ComposeableAdapterFactory,IChangeNotifier,IDisposable
public class QualityModelItemProviderAdapterFactory extends QualityModelAdapterFactory 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 tofireNotifyChanged. The adapters also support Eclipse property sheets. Note that most of the adapters are shared among multiple instances.- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected IChangeNotifierchangeNotifierThis is used to implementIChangeNotifier.protected MappingEntryItemProvidermappingEntryItemProviderThis keeps track of the one adapter used for allMappingEntryinstances.protected MappingItemProvidermappingItemProviderThis keeps track of the one adapter used for allMappinginstances.protected MappingRepositoryItemProvidermappingRepositoryItemProviderThis keeps track of the one adapter used for allMappingRepositoryinstances.protected NqrItemProvidernqrItemProviderThis keeps track of the one adapter used for allNqrinstances.protected NqrRepositoryItemProvidernqrRepositoryItemProviderThis keeps track of the one adapter used for allNqrRepositoryinstances.protected ComposedAdapterFactoryparentAdapterFactoryThis keeps track of the root adapter factory that delegates to this adapter factory.protected QuantityReductionItemProviderquantityReductionItemProviderThis keeps track of the one adapter used for allQuantityReductioninstances.protected ReasoningComponentItemProviderreasoningComponentItemProviderThis keeps track of the one adapter used for allReasoningComponentinstances.protected ReasoningItemProviderreasoningItemProviderThis keeps track of the one adapter used for allReasoninginstances.protected ReasoningRepositoryItemProviderreasoningRepositoryItemProviderThis keeps track of the one adapter used for allReasoningRepositoryinstances.protected ReasoningSystemItemProviderreasoningSystemItemProviderThis keeps track of the one adapter used for allReasoningSysteminstances.protected StatisticReductionItemProviderstatisticReductionItemProviderThis keeps track of the one adapter used for allStatisticReductioninstances.protected CollectionsupportedTypesThis keeps track of all the supported types checked byisFactoryForType.protected TransformationItemProvidertransformationItemProviderThis keeps track of the one adapter used for allTransformationinstances.protected TransformationRepositoryItemProvidertransformationRepositoryItemProviderThis keeps track of the one adapter used for allTransformationRepositoryinstances.-
Fields inherited from class org.palladiosimulator.qualitymodel.util.QualityModelAdapterFactory
modelPackage, modelSwitch
-
-
Constructor Summary
Constructors Constructor Description QualityModelItemProviderAdapterFactory()This constructs an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectadapt(Object object, Object type)Adapteradapt(Notifier notifier, Object type)This implementation substitutes the factory itself as the key for the adapter.voidaddListener(INotifyChangedListener notifyChangedListener)This adds a listener.AdaptercreateMappingAdapter()This creates an adapter for aMapping.AdaptercreateMappingEntryAdapter()This creates an adapter for aMappingEntry.AdaptercreateMappingRepositoryAdapter()This creates an adapter for aMappingRepository.AdaptercreateNqrAdapter()This creates an adapter for aNqr.AdaptercreateNqrRepositoryAdapter()This creates an adapter for aNqrRepository.AdaptercreateQuantityReductionAdapter()This creates an adapter for aQuantityReduction.AdaptercreateReasoningAdapter()This creates an adapter for aReasoning.AdaptercreateReasoningComponentAdapter()This creates an adapter for aReasoningComponent.AdaptercreateReasoningRepositoryAdapter()This creates an adapter for aReasoningRepository.AdaptercreateReasoningSystemAdapter()This creates an adapter for aReasoningSystem.AdaptercreateStatisticReductionAdapter()This creates an adapter for aStatisticReduction.AdaptercreateTransformationAdapter()This creates an adapter for aTransformation.AdaptercreateTransformationRepositoryAdapter()This creates an adapter for aTransformationRepository.voiddispose()This disposes all of the item providers created by this factory.voidfireNotifyChanged(Notification notification)This delegates tochangeNotifierand toparentAdapterFactory.ComposeableAdapterFactorygetRootAdapterFactory()This returns the root adapter factory that contains this factory.booleanisFactoryForType(Object type)voidremoveListener(INotifyChangedListener notifyChangedListener)This removes a listener.voidsetParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)This sets the composed adapter factory that contains this factory.-
Methods inherited from class org.palladiosimulator.qualitymodel.util.QualityModelAdapterFactory
createAdapter, createEntityAdapter, createEObjectAdapter, createIdentifierAdapter, createNamedElementAdapter, createReductionAdapter
-
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
-
parentAdapterFactory
protected ComposedAdapterFactory parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.- Generated class or method.
-
changeNotifier
protected IChangeNotifier changeNotifier
This is used to implementIChangeNotifier.- Generated class or method.
-
supportedTypes
protected Collection supportedTypes
This keeps track of all the supported types checked byisFactoryForType.- Generated class or method.
-
nqrItemProvider
protected NqrItemProvider nqrItemProvider
This keeps track of the one adapter used for allNqrinstances.- Generated class or method.
-
mappingItemProvider
protected MappingItemProvider mappingItemProvider
This keeps track of the one adapter used for allMappinginstances.- Generated class or method.
-
transformationItemProvider
protected TransformationItemProvider transformationItemProvider
This keeps track of the one adapter used for allTransformationinstances.- Generated class or method.
-
reasoningItemProvider
protected ReasoningItemProvider reasoningItemProvider
This keeps track of the one adapter used for allReasoninginstances.- Generated class or method.
-
quantityReductionItemProvider
protected QuantityReductionItemProvider quantityReductionItemProvider
This keeps track of the one adapter used for allQuantityReductioninstances.- Generated class or method.
-
statisticReductionItemProvider
protected StatisticReductionItemProvider statisticReductionItemProvider
This keeps track of the one adapter used for allStatisticReductioninstances.- Generated class or method.
-
mappingRepositoryItemProvider
protected MappingRepositoryItemProvider mappingRepositoryItemProvider
This keeps track of the one adapter used for allMappingRepositoryinstances.- Generated class or method.
-
mappingEntryItemProvider
protected MappingEntryItemProvider mappingEntryItemProvider
This keeps track of the one adapter used for allMappingEntryinstances.- Generated class or method.
-
transformationRepositoryItemProvider
protected TransformationRepositoryItemProvider transformationRepositoryItemProvider
This keeps track of the one adapter used for allTransformationRepositoryinstances.- Generated class or method.
-
reasoningRepositoryItemProvider
protected ReasoningRepositoryItemProvider reasoningRepositoryItemProvider
This keeps track of the one adapter used for allReasoningRepositoryinstances.- Generated class or method.
-
nqrRepositoryItemProvider
protected NqrRepositoryItemProvider nqrRepositoryItemProvider
This keeps track of the one adapter used for allNqrRepositoryinstances.- Generated class or method.
-
reasoningComponentItemProvider
protected ReasoningComponentItemProvider reasoningComponentItemProvider
This keeps track of the one adapter used for allReasoningComponentinstances.- Generated class or method.
-
reasoningSystemItemProvider
protected ReasoningSystemItemProvider reasoningSystemItemProvider
This keeps track of the one adapter used for allReasoningSysteminstances.- Generated class or method.
-
-
Method Detail
-
createNqrAdapter
public Adapter createNqrAdapter()
This creates an adapter for aNqr.- Overrides:
createNqrAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
Nqr- Generated class or method.
-
createMappingAdapter
public Adapter createMappingAdapter()
This creates an adapter for aMapping.- Overrides:
createMappingAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
Mapping- Generated class or method.
-
createTransformationAdapter
public Adapter createTransformationAdapter()
This creates an adapter for aTransformation.- Overrides:
createTransformationAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
Transformation- Generated class or method.
-
createReasoningAdapter
public Adapter createReasoningAdapter()
This creates an adapter for aReasoning.- Overrides:
createReasoningAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
Reasoning- Generated class or method.
-
createQuantityReductionAdapter
public Adapter createQuantityReductionAdapter()
This creates an adapter for aQuantityReduction.- Overrides:
createQuantityReductionAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
QuantityReduction- Generated class or method.
-
createStatisticReductionAdapter
public Adapter createStatisticReductionAdapter()
This creates an adapter for aStatisticReduction.- Overrides:
createStatisticReductionAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
StatisticReduction- Generated class or method.
-
createMappingRepositoryAdapter
public Adapter createMappingRepositoryAdapter()
This creates an adapter for aMappingRepository.- Overrides:
createMappingRepositoryAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
MappingRepository- Generated class or method.
-
createMappingEntryAdapter
public Adapter createMappingEntryAdapter()
This creates an adapter for aMappingEntry.- Overrides:
createMappingEntryAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
MappingEntry- Generated class or method.
-
createTransformationRepositoryAdapter
public Adapter createTransformationRepositoryAdapter()
This creates an adapter for aTransformationRepository.- Overrides:
createTransformationRepositoryAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
TransformationRepository- Generated class or method.
-
createReasoningRepositoryAdapter
public Adapter createReasoningRepositoryAdapter()
This creates an adapter for aReasoningRepository.- Overrides:
createReasoningRepositoryAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
ReasoningRepository- Generated class or method.
-
createNqrRepositoryAdapter
public Adapter createNqrRepositoryAdapter()
This creates an adapter for aNqrRepository.- Overrides:
createNqrRepositoryAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
NqrRepository- Generated class or method.
-
createReasoningComponentAdapter
public Adapter createReasoningComponentAdapter()
This creates an adapter for aReasoningComponent.- Overrides:
createReasoningComponentAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
ReasoningComponent- Generated class or method.
-
createReasoningSystemAdapter
public Adapter createReasoningSystemAdapter()
This creates an adapter for aReasoningSystem.- Overrides:
createReasoningSystemAdapterin classQualityModelAdapterFactory- Returns:
- the new adapter.
- See Also:
ReasoningSystem- Generated class or method.
-
getRootAdapterFactory
public ComposeableAdapterFactory getRootAdapterFactory()
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactoryin interfaceComposeableAdapterFactory- Generated class or method.
-
setParentAdapterFactory
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactoryin interfaceComposeableAdapterFactory- Generated class or method.
-
isFactoryForType
public boolean isFactoryForType(Object type)
- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein classQualityModelAdapterFactory- Returns:
- whether this factory is applicable for the type of the object.
- Generated class or method.
-
adapt
public Adapter adapt(Notifier notifier, Object type)
This implementation substitutes the factory itself as the key for the adapter.- Specified by:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated class or method.
-
adapt
public Object adapt(Object object, Object type)
- Specified by:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated class or method.
-
addListener
public void addListener(INotifyChangedListener notifyChangedListener)
This adds a listener.- Specified by:
addListenerin interfaceIChangeNotifier- Generated class or method.
-
removeListener
public void removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener.- Specified by:
removeListenerin interfaceIChangeNotifier- Generated class or method.
-
fireNotifyChanged
public void fireNotifyChanged(Notification notification)
This delegates tochangeNotifierand toparentAdapterFactory.- Specified by:
fireNotifyChangedin interfaceIChangeNotifier- Generated class or method.
-
dispose
public void dispose()
This disposes all of the item providers created by this factory.- Specified by:
disposein interfaceIDisposable- Generated class or method.
-
-