Class ArchitecturaltemplatesItemProviderAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.palladiosimulator.architecturaltemplates.util.ArchitecturaltemplatesAdapterFactory
-
- org.palladiosimulator.architecturaltemplates.provider.ArchitecturaltemplatesItemProviderAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory
,ComposeableAdapterFactory
,IChangeNotifier
public class ArchitecturaltemplatesItemProviderAdapterFactory extends ArchitecturaltemplatesAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier
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 ATItemProvider
atItemProvider
This keeps track of the one adapter used for allAT
instances.protected CatalogItemProvider
catalogItemProvider
This keeps track of the one adapter used for allCatalog
instances.protected IChangeNotifier
changeNotifier
This is used to implementIChangeNotifier
.protected GenericFileExtensionItemProvider
genericFileExtensionItemProvider
This keeps track of the one adapter used for allGenericFileExtension
instances.protected IsolatedPCMTemplateCompletionParameterItemProvider
isolatedPCMTemplateCompletionParameterItemProvider
This keeps track of the one adapter used for allIsolatedPCMTemplateCompletionParameter
instances.protected OCLConstraintItemProvider
oclConstraintItemProvider
This keeps track of the one adapter used for allOCLConstraint
instances.protected ComposedAdapterFactory
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected PCMBlackboardCompletionParameterItemProvider
pcmBlackboardCompletionParameterItemProvider
This keeps track of the one adapter used for allPCMBlackboardCompletionParameter
instances.protected PCMFileExtensionItemProvider
pcmFileExtensionItemProvider
This keeps track of the one adapter used for allPCMFileExtension
instances.protected PCMOutputCompletionParameterItemProvider
pcmOutputCompletionParameterItemProvider
This keeps track of the one adapter used for allPCMOutputCompletionParameter
instances.protected PCMTemplateCompletionParameterItemProvider
pcmTemplateCompletionParameterItemProvider
This keeps track of the one adapter used for allPCMTemplateCompletionParameter
instances.protected QVTOCompletionItemProvider
qvtoCompletionItemProvider
This keeps track of the one adapter used for allQVTOCompletion
instances.protected ReconfigurationFolderItemProvider
reconfigurationFolderItemProvider
This keeps track of the one adapter used for allReconfigurationFolder
instances.protected RoleItemProvider
roleItemProvider
This keeps track of the one adapter used for allRole
instances.protected Collection<Object>
supportedTypes
This keeps track of all the supported types checked byisFactoryForType
.-
Fields inherited from class org.palladiosimulator.architecturaltemplates.util.ArchitecturaltemplatesAdapterFactory
modelPackage, modelSwitch
-
-
Constructor Summary
Constructors Constructor Description ArchitecturaltemplatesItemProviderAdapterFactory()
This constructs an instance.
-
Method Summary
-
Methods inherited from class org.palladiosimulator.architecturaltemplates.util.ArchitecturaltemplatesAdapterFactory
createAdapter, createCompletionAdapter, createCompletionParameterAdapter, createConstraintAdapter, createEntityAdapter, createEObjectAdapter, createFileExtensionAdapter, createIdentifierAdapter, createNamedElementAdapter, createPCMCompletionParameterAdapter
-
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<Object> supportedTypes
This keeps track of all the supported types checked byisFactoryForType
.- Generated class or method.
-
atItemProvider
protected ATItemProvider atItemProvider
This keeps track of the one adapter used for allAT
instances.- Generated class or method.
-
catalogItemProvider
protected CatalogItemProvider catalogItemProvider
This keeps track of the one adapter used for allCatalog
instances.- Generated class or method.
-
roleItemProvider
protected RoleItemProvider roleItemProvider
This keeps track of the one adapter used for allRole
instances.- Generated class or method.
-
oclConstraintItemProvider
protected OCLConstraintItemProvider oclConstraintItemProvider
This keeps track of the one adapter used for allOCLConstraint
instances.- Generated class or method.
-
qvtoCompletionItemProvider
protected QVTOCompletionItemProvider qvtoCompletionItemProvider
This keeps track of the one adapter used for allQVTOCompletion
instances.- Generated class or method.
-
pcmBlackboardCompletionParameterItemProvider
protected PCMBlackboardCompletionParameterItemProvider pcmBlackboardCompletionParameterItemProvider
This keeps track of the one adapter used for allPCMBlackboardCompletionParameter
instances.- Generated class or method.
-
pcmTemplateCompletionParameterItemProvider
protected PCMTemplateCompletionParameterItemProvider pcmTemplateCompletionParameterItemProvider
This keeps track of the one adapter used for allPCMTemplateCompletionParameter
instances.- Generated class or method.
-
pcmOutputCompletionParameterItemProvider
protected PCMOutputCompletionParameterItemProvider pcmOutputCompletionParameterItemProvider
This keeps track of the one adapter used for allPCMOutputCompletionParameter
instances.- Generated class or method.
-
reconfigurationFolderItemProvider
protected ReconfigurationFolderItemProvider reconfigurationFolderItemProvider
This keeps track of the one adapter used for allReconfigurationFolder
instances.- Generated class or method.
-
isolatedPCMTemplateCompletionParameterItemProvider
protected IsolatedPCMTemplateCompletionParameterItemProvider isolatedPCMTemplateCompletionParameterItemProvider
This keeps track of the one adapter used for allIsolatedPCMTemplateCompletionParameter
instances.- Generated class or method.
-
pcmFileExtensionItemProvider
protected PCMFileExtensionItemProvider pcmFileExtensionItemProvider
This keeps track of the one adapter used for allPCMFileExtension
instances.- Generated class or method.
-
genericFileExtensionItemProvider
protected GenericFileExtensionItemProvider genericFileExtensionItemProvider
This keeps track of the one adapter used for allGenericFileExtension
instances.- Generated class or method.
-
-
Method Detail
-
createATAdapter
public Adapter createATAdapter()
This creates an adapter for aAT
.- Overrides:
createATAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
AT
- Generated class or method.
-
createCatalogAdapter
public Adapter createCatalogAdapter()
This creates an adapter for aCatalog
.- Overrides:
createCatalogAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
Catalog
- Generated class or method.
-
createRoleAdapter
public Adapter createRoleAdapter()
This creates an adapter for aRole
.- Overrides:
createRoleAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
Role
- Generated class or method.
-
createOCLConstraintAdapter
public Adapter createOCLConstraintAdapter()
This creates an adapter for aOCLConstraint
.- Overrides:
createOCLConstraintAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
OCLConstraint
- Generated class or method.
-
createQVTOCompletionAdapter
public Adapter createQVTOCompletionAdapter()
This creates an adapter for aQVTOCompletion
.- Overrides:
createQVTOCompletionAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
QVTOCompletion
- Generated class or method.
-
createPCMBlackboardCompletionParameterAdapter
public Adapter createPCMBlackboardCompletionParameterAdapter()
This creates an adapter for aPCMBlackboardCompletionParameter
.- Overrides:
createPCMBlackboardCompletionParameterAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
PCMBlackboardCompletionParameter
- Generated class or method.
-
createPCMTemplateCompletionParameterAdapter
public Adapter createPCMTemplateCompletionParameterAdapter()
This creates an adapter for aPCMTemplateCompletionParameter
.- Overrides:
createPCMTemplateCompletionParameterAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
PCMTemplateCompletionParameter
- Generated class or method.
-
createPCMOutputCompletionParameterAdapter
public Adapter createPCMOutputCompletionParameterAdapter()
This creates an adapter for aPCMOutputCompletionParameter
.- Overrides:
createPCMOutputCompletionParameterAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
PCMOutputCompletionParameter
- Generated class or method.
-
createReconfigurationFolderAdapter
public Adapter createReconfigurationFolderAdapter()
This creates an adapter for aReconfigurationFolder
.- Overrides:
createReconfigurationFolderAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
ReconfigurationFolder
- Generated class or method.
-
createIsolatedPCMTemplateCompletionParameterAdapter
public Adapter createIsolatedPCMTemplateCompletionParameterAdapter()
This creates an adapter for aIsolatedPCMTemplateCompletionParameter
.- Overrides:
createIsolatedPCMTemplateCompletionParameterAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
IsolatedPCMTemplateCompletionParameter
- Generated class or method.
-
createPCMFileExtensionAdapter
public Adapter createPCMFileExtensionAdapter()
This creates an adapter for aPCMFileExtension
.- Overrides:
createPCMFileExtensionAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
PCMFileExtension
- Generated class or method.
-
createGenericFileExtensionAdapter
public Adapter createGenericFileExtensionAdapter()
This creates an adapter for aGenericFileExtension
.- Overrides:
createGenericFileExtensionAdapter
in classArchitecturaltemplatesAdapterFactory
- Returns:
- the new adapter.
- See Also:
GenericFileExtension
- Generated class or method.
-
getRootAdapterFactory
public ComposeableAdapterFactory getRootAdapterFactory()
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
setParentAdapterFactory
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
isFactoryForType
public boolean isFactoryForType(Object type)
- Specified by:
isFactoryForType
in interfaceAdapterFactory
- Overrides:
isFactoryForType
in classArchitecturaltemplatesAdapterFactory
- 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:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated class or method.
-
adapt
public Object adapt(Object object, Object type)
- Specified by:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated class or method.
-
addListener
public void addListener(INotifyChangedListener notifyChangedListener)
This adds a listener.- Specified by:
addListener
in interfaceIChangeNotifier
- Generated class or method.
-
removeListener
public void removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener.- Specified by:
removeListener
in interfaceIChangeNotifier
- Generated class or method.
-
fireNotifyChanged
public void fireNotifyChanged(Notification notification)
This delegates tochangeNotifier
and toparentAdapterFactory
.- Specified by:
fireNotifyChanged
in interfaceIChangeNotifier
- Generated class or method.
-
-