Class CompositionItemProviderAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
org.palladiosimulator.pcm.core.composition.provider.CompositionItemProviderAdapterFactory
- All Implemented Interfaces:
AdapterFactory
,ComposeableAdapterFactory
,IChangeNotifier
,IChildCreationExtender
,IDisposable
public class CompositionItemProviderAdapterFactory
extends org.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
implements ComposeableAdapterFactory, IChangeNotifier, IDisposable, IChildCreationExtender
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.edit.provider.IChildCreationExtender
IChildCreationExtender.Descriptor
-
Field Summary
Modifier and TypeFieldDescriptionprotected AssemblyConnectorItemProvider
This keeps track of the one adapter used for allAssemblyConnector
instances.protected AssemblyContextItemProvider
This keeps track of the one adapter used for allAssemblyContext
instances.protected AssemblyEventConnectorItemProvider
This keeps track of the one adapter used for allAssemblyEventConnector
instances.This keeps track of the one adapter used for allAssemblyInfrastructureConnector
instances.protected IChangeNotifier
This is used to implementIChangeNotifier
.protected ChildCreationExtenderManager
This helps manage the child creation extenders.static final String
protected EventChannelItemProvider
This keeps track of the one adapter used for allEventChannel
instances.protected EventChannelSinkConnectorItemProvider
This keeps track of the one adapter used for allEventChannelSinkConnector
instances.protected EventChannelSourceConnectorItemProvider
This keeps track of the one adapter used for allEventChannelSourceConnector
instances.protected ComposedAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected ProvidedDelegationConnectorItemProvider
This keeps track of the one adapter used for allProvidedDelegationConnector
instances.This keeps track of the one adapter used for allProvidedInfrastructureDelegationConnector
instances.protected RequiredDelegationConnectorItemProvider
This keeps track of the one adapter used for allRequiredDelegationConnector
instances.This keeps track of the one adapter used for allRequiredInfrastructureDelegationConnector
instances.This keeps track of the one adapter used for allRequiredResourceDelegationConnector
instances.This keeps track of the one adapter used for allResourceRequiredDelegationConnector
instances.protected SinkDelegationConnectorItemProvider
This keeps track of the one adapter used for allSinkDelegationConnector
instances.protected SourceDelegationConnectorItemProvider
This keeps track of the one adapter used for allSourceDelegationConnector
instances.protected Collection<Object>
This keeps track of all the supported types checked byisFactoryForType
.Fields inherited from class org.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
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 aAssemblyConnector
.This creates an adapter for aAssemblyContext
.This creates an adapter for aAssemblyEventConnector
.This creates an adapter for aAssemblyInfrastructureConnector
.This creates an adapter for aEventChannel
.This creates an adapter for aEventChannelSinkConnector
.This creates an adapter for aEventChannelSourceConnector
.This creates an adapter for aProvidedDelegationConnector
.This creates an adapter for aProvidedInfrastructureDelegationConnector
.This creates an adapter for aRequiredDelegationConnector
.This creates an adapter for aRequiredInfrastructureDelegationConnector
.This creates an adapter for aRequiredResourceDelegationConnector
.This creates an adapter for aResourceRequiredDelegationConnector
.This creates an adapter for aSinkDelegationConnector
.This creates an adapter for aSourceDelegationConnector
.void
dispose()
This disposes all of the item providers created by this factory.void
fireNotifyChanged
(Notification notification) This delegates tochangeNotifier
and toparentAdapterFactory
.Collection<?>
getNewChildDescriptors
(Object object, EditingDomain editingDomain) 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 org.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
createAdapter, createComposedStructureAdapter, createConnectorAdapter, createDelegationConnectorAdapter, createEntityAdapter, createEObjectAdapter, createIdentifierAdapter, createNamedElementAdapter, createPCMBaseClassAdapter, createPCMClassAdapter
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
-
copyright
- See Also:
- Generated class or method.
-
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.
-
childCreationExtenderManager
This helps manage the child creation extenders.- Generated class or method.
-
supportedTypes
This keeps track of all the supported types checked byisFactoryForType
.- Generated class or method.
-
resourceRequiredDelegationConnectorItemProvider
protected ResourceRequiredDelegationConnectorItemProvider resourceRequiredDelegationConnectorItemProviderThis keeps track of the one adapter used for allResourceRequiredDelegationConnector
instances.- Generated class or method.
-
eventChannelItemProvider
This keeps track of the one adapter used for allEventChannel
instances.- Generated class or method.
-
eventChannelSourceConnectorItemProvider
This keeps track of the one adapter used for allEventChannelSourceConnector
instances.- Generated class or method.
-
eventChannelSinkConnectorItemProvider
This keeps track of the one adapter used for allEventChannelSinkConnector
instances.- Generated class or method.
-
providedDelegationConnectorItemProvider
This keeps track of the one adapter used for allProvidedDelegationConnector
instances.- Generated class or method.
-
requiredDelegationConnectorItemProvider
This keeps track of the one adapter used for allRequiredDelegationConnector
instances.- Generated class or method.
-
assemblyConnectorItemProvider
This keeps track of the one adapter used for allAssemblyConnector
instances.- Generated class or method.
-
assemblyEventConnectorItemProvider
This keeps track of the one adapter used for allAssemblyEventConnector
instances.- Generated class or method.
-
sourceDelegationConnectorItemProvider
This keeps track of the one adapter used for allSourceDelegationConnector
instances.- Generated class or method.
-
sinkDelegationConnectorItemProvider
This keeps track of the one adapter used for allSinkDelegationConnector
instances.- Generated class or method.
-
assemblyInfrastructureConnectorItemProvider
This keeps track of the one adapter used for allAssemblyInfrastructureConnector
instances.- Generated class or method.
-
providedInfrastructureDelegationConnectorItemProvider
protected ProvidedInfrastructureDelegationConnectorItemProvider providedInfrastructureDelegationConnectorItemProviderThis keeps track of the one adapter used for allProvidedInfrastructureDelegationConnector
instances.- Generated class or method.
-
requiredInfrastructureDelegationConnectorItemProvider
protected RequiredInfrastructureDelegationConnectorItemProvider requiredInfrastructureDelegationConnectorItemProviderThis keeps track of the one adapter used for allRequiredInfrastructureDelegationConnector
instances.- Generated class or method.
-
requiredResourceDelegationConnectorItemProvider
protected RequiredResourceDelegationConnectorItemProvider requiredResourceDelegationConnectorItemProviderThis keeps track of the one adapter used for allRequiredResourceDelegationConnector
instances.- Generated class or method.
-
assemblyContextItemProvider
This keeps track of the one adapter used for allAssemblyContext
instances.- Generated class or method.
-
-
Constructor Details
-
CompositionItemProviderAdapterFactory
public CompositionItemProviderAdapterFactory()This constructs an instance.- Generated class or method.
-
-
Method Details
-
createResourceRequiredDelegationConnectorAdapter
This creates an adapter for aResourceRequiredDelegationConnector
.- Overrides:
createResourceRequiredDelegationConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createEventChannelAdapter
This creates an adapter for aEventChannel
.- Overrides:
createEventChannelAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createEventChannelSourceConnectorAdapter
This creates an adapter for aEventChannelSourceConnector
.- Overrides:
createEventChannelSourceConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createEventChannelSinkConnectorAdapter
This creates an adapter for aEventChannelSinkConnector
.- Overrides:
createEventChannelSinkConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createProvidedDelegationConnectorAdapter
This creates an adapter for aProvidedDelegationConnector
.- Overrides:
createProvidedDelegationConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createRequiredDelegationConnectorAdapter
This creates an adapter for aRequiredDelegationConnector
.- Overrides:
createRequiredDelegationConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createAssemblyConnectorAdapter
This creates an adapter for aAssemblyConnector
.- Overrides:
createAssemblyConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createAssemblyEventConnectorAdapter
This creates an adapter for aAssemblyEventConnector
.- Overrides:
createAssemblyEventConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createSourceDelegationConnectorAdapter
This creates an adapter for aSourceDelegationConnector
.- Overrides:
createSourceDelegationConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createSinkDelegationConnectorAdapter
This creates an adapter for aSinkDelegationConnector
.- Overrides:
createSinkDelegationConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createAssemblyInfrastructureConnectorAdapter
This creates an adapter for aAssemblyInfrastructureConnector
.- Overrides:
createAssemblyInfrastructureConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createProvidedInfrastructureDelegationConnectorAdapter
This creates an adapter for aProvidedInfrastructureDelegationConnector
.- Overrides:
createProvidedInfrastructureDelegationConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createRequiredInfrastructureDelegationConnectorAdapter
This creates an adapter for aRequiredInfrastructureDelegationConnector
.- Overrides:
createRequiredInfrastructureDelegationConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createRequiredResourceDelegationConnectorAdapter
This creates an adapter for aRequiredResourceDelegationConnector
.- Overrides:
createRequiredResourceDelegationConnectorAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- Generated class or method.
-
createAssemblyContextAdapter
This creates an adapter for aAssemblyContext
.- Overrides:
createAssemblyContextAdapter
in classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- 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 classorg.palladiosimulator.pcm.core.composition.util.CompositionAdapterFactory
- 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.
-
getChildCreationExtenders
- Generated class or method.
-
getNewChildDescriptors
- Specified by:
getNewChildDescriptors
in interfaceIChildCreationExtender
- Generated class or method.
-
getResourceLocator
- Specified by:
getResourceLocator
in interfaceIChildCreationExtender
- 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.
-