Class SeffItemProviderAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.palladiosimulator.pcm.seff.util.SeffAdapterFactory
-
- org.palladiosimulator.pcm.seff.provider.SeffItemProviderAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory
,ComposeableAdapterFactory
,IChangeNotifier
,IChildCreationExtender
,IDisposable
public class SeffItemProviderAdapterFactory extends org.palladiosimulator.pcm.seff.util.SeffAdapterFactory 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 tofireNotifyChanged
. 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
Fields Modifier and Type Field Description protected AcquireActionItemProvider
acquireActionItemProvider
This keeps track of the one adapter used for allAcquireAction
instances.protected BranchActionItemProvider
branchActionItemProvider
This keeps track of the one adapter used for allBranchAction
instances.protected CallReturnActionItemProvider
callReturnActionItemProvider
This keeps track of the one adapter used for allCallReturnAction
instances.protected IChangeNotifier
changeNotifier
This is used to implementIChangeNotifier
.protected ChildCreationExtenderManager
childCreationExtenderManager
This helps manage the child creation extenders.protected CollectionIteratorActionItemProvider
collectionIteratorActionItemProvider
This keeps track of the one adapter used for allCollectionIteratorAction
instances.static String
copyright
protected EmitEventActionItemProvider
emitEventActionItemProvider
This keeps track of the one adapter used for allEmitEventAction
instances.protected ExternalCallActionItemProvider
externalCallActionItemProvider
This keeps track of the one adapter used for allExternalCallAction
instances.protected ForkActionItemProvider
forkActionItemProvider
This keeps track of the one adapter used for allForkAction
instances.protected ForkedBehaviourItemProvider
forkedBehaviourItemProvider
This keeps track of the one adapter used for allForkedBehaviour
instances.protected GuardedBranchTransitionItemProvider
guardedBranchTransitionItemProvider
This keeps track of the one adapter used for allGuardedBranchTransition
instances.protected InternalActionItemProvider
internalActionItemProvider
This keeps track of the one adapter used for allInternalAction
instances.protected InternalCallActionItemProvider
internalCallActionItemProvider
This keeps track of the one adapter used for allInternalCallAction
instances.protected LoopActionItemProvider
loopActionItemProvider
This keeps track of the one adapter used for allLoopAction
instances.protected ComposedAdapterFactory
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected ProbabilisticBranchTransitionItemProvider
probabilisticBranchTransitionItemProvider
This keeps track of the one adapter used for allProbabilisticBranchTransition
instances.protected ReleaseActionItemProvider
releaseActionItemProvider
This keeps track of the one adapter used for allReleaseAction
instances.protected ResourceDemandingBehaviourItemProvider
resourceDemandingBehaviourItemProvider
This keeps track of the one adapter used for allResourceDemandingBehaviour
instances.protected ResourceDemandingInternalBehaviourItemProvider
resourceDemandingInternalBehaviourItemProvider
This keeps track of the one adapter used for allResourceDemandingInternalBehaviour
instances.protected ResourceDemandingSEFFItemProvider
resourceDemandingSEFFItemProvider
This keeps track of the one adapter used for allResourceDemandingSEFF
instances.protected SetVariableActionItemProvider
setVariableActionItemProvider
This keeps track of the one adapter used for allSetVariableAction
instances.protected StartActionItemProvider
startActionItemProvider
This keeps track of the one adapter used for allStartAction
instances.protected StopActionItemProvider
stopActionItemProvider
This keeps track of the one adapter used for allStopAction
instances.protected Collection<Object>
supportedTypes
This keeps track of all the supported types checked byisFactoryForType
.protected SynchronisationPointItemProvider
synchronisationPointItemProvider
This keeps track of the one adapter used for allSynchronisationPoint
instances.
-
Constructor Summary
Constructors Constructor Description SeffItemProviderAdapterFactory()
This constructs an instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
adapt(Object object, Object type)
Adapter
adapt(Notifier notifier, Object type)
This implementation substitutes the factory itself as the key for the adapter.void
addListener(INotifyChangedListener notifyChangedListener)
This adds a listener.Adapter
createAcquireActionAdapter()
This creates an adapter for aAcquireAction
.Adapter
createBranchActionAdapter()
This creates an adapter for aBranchAction
.Adapter
createCallReturnActionAdapter()
This creates an adapter for aCallReturnAction
.Adapter
createCollectionIteratorActionAdapter()
This creates an adapter for aCollectionIteratorAction
.Adapter
createEmitEventActionAdapter()
This creates an adapter for aEmitEventAction
.Adapter
createExternalCallActionAdapter()
This creates an adapter for aExternalCallAction
.Adapter
createForkActionAdapter()
This creates an adapter for aForkAction
.Adapter
createForkedBehaviourAdapter()
This creates an adapter for aForkedBehaviour
.Adapter
createGuardedBranchTransitionAdapter()
This creates an adapter for aGuardedBranchTransition
.Adapter
createInternalActionAdapter()
This creates an adapter for aInternalAction
.Adapter
createInternalCallActionAdapter()
This creates an adapter for aInternalCallAction
.Adapter
createLoopActionAdapter()
This creates an adapter for aLoopAction
.Adapter
createProbabilisticBranchTransitionAdapter()
This creates an adapter for aProbabilisticBranchTransition
.Adapter
createReleaseActionAdapter()
This creates an adapter for aReleaseAction
.Adapter
createResourceDemandingBehaviourAdapter()
This creates an adapter for aResourceDemandingBehaviour
.Adapter
createResourceDemandingInternalBehaviourAdapter()
This creates an adapter for aResourceDemandingInternalBehaviour
.Adapter
createResourceDemandingSEFFAdapter()
This creates an adapter for aResourceDemandingSEFF
.Adapter
createSetVariableActionAdapter()
This creates an adapter for aSetVariableAction
.Adapter
createStartActionAdapter()
This creates an adapter for aStartAction
.Adapter
createStopActionAdapter()
This creates an adapter for aStopAction
.Adapter
createSynchronisationPointAdapter()
This creates an adapter for aSynchronisationPoint
.void
dispose()
This disposes all of the item providers created by this factory.void
fireNotifyChanged(Notification notification)
This delegates tochangeNotifier
and toparentAdapterFactory
.List<IChildCreationExtender>
getChildCreationExtenders()
Collection<?>
getNewChildDescriptors(Object object, EditingDomain editingDomain)
ResourceLocator
getResourceLocator()
ComposeableAdapterFactory
getRootAdapterFactory()
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.seff.util.SeffAdapterFactory
createAbstractActionAdapter, createAbstractBranchTransitionAdapter, createAbstractInternalControlFlowActionAdapter, createAbstractLoopActionAdapter, createAdapter, createCallActionAdapter, createEntityAdapter, createEObjectAdapter, createFailureHandlingEntityAdapter, createIdentifierAdapter, createNamedElementAdapter, createPCMBaseClassAdapter, createPCMClassAdapter, createServiceEffectSpecificationAdapter
-
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
-
copyright
public static final String copyright
- See Also:
- Constant Field Values
- Generated class or method.
-
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.
-
childCreationExtenderManager
protected ChildCreationExtenderManager childCreationExtenderManager
This helps manage the child creation extenders.- Generated class or method.
-
supportedTypes
protected Collection<Object> supportedTypes
This keeps track of all the supported types checked byisFactoryForType
.- Generated class or method.
-
stopActionItemProvider
protected StopActionItemProvider stopActionItemProvider
This keeps track of the one adapter used for allStopAction
instances.- Generated class or method.
-
resourceDemandingBehaviourItemProvider
protected ResourceDemandingBehaviourItemProvider resourceDemandingBehaviourItemProvider
This keeps track of the one adapter used for allResourceDemandingBehaviour
instances.- Generated class or method.
-
branchActionItemProvider
protected BranchActionItemProvider branchActionItemProvider
This keeps track of the one adapter used for allBranchAction
instances.- Generated class or method.
-
startActionItemProvider
protected StartActionItemProvider startActionItemProvider
This keeps track of the one adapter used for allStartAction
instances.- Generated class or method.
-
resourceDemandingSEFFItemProvider
protected ResourceDemandingSEFFItemProvider resourceDemandingSEFFItemProvider
This keeps track of the one adapter used for allResourceDemandingSEFF
instances.- Generated class or method.
-
resourceDemandingInternalBehaviourItemProvider
protected ResourceDemandingInternalBehaviourItemProvider resourceDemandingInternalBehaviourItemProvider
This keeps track of the one adapter used for allResourceDemandingInternalBehaviour
instances.- Generated class or method.
-
releaseActionItemProvider
protected ReleaseActionItemProvider releaseActionItemProvider
This keeps track of the one adapter used for allReleaseAction
instances.- Generated class or method.
-
loopActionItemProvider
protected LoopActionItemProvider loopActionItemProvider
This keeps track of the one adapter used for allLoopAction
instances.- Generated class or method.
-
forkActionItemProvider
protected ForkActionItemProvider forkActionItemProvider
This keeps track of the one adapter used for allForkAction
instances.- Generated class or method.
-
forkedBehaviourItemProvider
protected ForkedBehaviourItemProvider forkedBehaviourItemProvider
This keeps track of the one adapter used for allForkedBehaviour
instances.- Generated class or method.
-
synchronisationPointItemProvider
protected SynchronisationPointItemProvider synchronisationPointItemProvider
This keeps track of the one adapter used for allSynchronisationPoint
instances.- Generated class or method.
-
externalCallActionItemProvider
protected ExternalCallActionItemProvider externalCallActionItemProvider
This keeps track of the one adapter used for allExternalCallAction
instances.- Generated class or method.
-
callReturnActionItemProvider
protected CallReturnActionItemProvider callReturnActionItemProvider
This keeps track of the one adapter used for allCallReturnAction
instances.- Generated class or method.
-
probabilisticBranchTransitionItemProvider
protected ProbabilisticBranchTransitionItemProvider probabilisticBranchTransitionItemProvider
This keeps track of the one adapter used for allProbabilisticBranchTransition
instances.- Generated class or method.
-
acquireActionItemProvider
protected AcquireActionItemProvider acquireActionItemProvider
This keeps track of the one adapter used for allAcquireAction
instances.- Generated class or method.
-
collectionIteratorActionItemProvider
protected CollectionIteratorActionItemProvider collectionIteratorActionItemProvider
This keeps track of the one adapter used for allCollectionIteratorAction
instances.- Generated class or method.
-
guardedBranchTransitionItemProvider
protected GuardedBranchTransitionItemProvider guardedBranchTransitionItemProvider
This keeps track of the one adapter used for allGuardedBranchTransition
instances.- Generated class or method.
-
setVariableActionItemProvider
protected SetVariableActionItemProvider setVariableActionItemProvider
This keeps track of the one adapter used for allSetVariableAction
instances.- Generated class or method.
-
internalCallActionItemProvider
protected InternalCallActionItemProvider internalCallActionItemProvider
This keeps track of the one adapter used for allInternalCallAction
instances.- Generated class or method.
-
emitEventActionItemProvider
protected EmitEventActionItemProvider emitEventActionItemProvider
This keeps track of the one adapter used for allEmitEventAction
instances.- Generated class or method.
-
internalActionItemProvider
protected InternalActionItemProvider internalActionItemProvider
This keeps track of the one adapter used for allInternalAction
instances.- Generated class or method.
-
-
Method Detail
-
createStopActionAdapter
public Adapter createStopActionAdapter()
This creates an adapter for aStopAction
.- Overrides:
createStopActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createResourceDemandingBehaviourAdapter
public Adapter createResourceDemandingBehaviourAdapter()
This creates an adapter for aResourceDemandingBehaviour
.- Overrides:
createResourceDemandingBehaviourAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createBranchActionAdapter
public Adapter createBranchActionAdapter()
This creates an adapter for aBranchAction
.- Overrides:
createBranchActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createStartActionAdapter
public Adapter createStartActionAdapter()
This creates an adapter for aStartAction
.- Overrides:
createStartActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createResourceDemandingSEFFAdapter
public Adapter createResourceDemandingSEFFAdapter()
This creates an adapter for aResourceDemandingSEFF
.- Overrides:
createResourceDemandingSEFFAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createResourceDemandingInternalBehaviourAdapter
public Adapter createResourceDemandingInternalBehaviourAdapter()
This creates an adapter for aResourceDemandingInternalBehaviour
.- Overrides:
createResourceDemandingInternalBehaviourAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createReleaseActionAdapter
public Adapter createReleaseActionAdapter()
This creates an adapter for aReleaseAction
.- Overrides:
createReleaseActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createLoopActionAdapter
public Adapter createLoopActionAdapter()
This creates an adapter for aLoopAction
.- Overrides:
createLoopActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createForkActionAdapter
public Adapter createForkActionAdapter()
This creates an adapter for aForkAction
.- Overrides:
createForkActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createForkedBehaviourAdapter
public Adapter createForkedBehaviourAdapter()
This creates an adapter for aForkedBehaviour
.- Overrides:
createForkedBehaviourAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createSynchronisationPointAdapter
public Adapter createSynchronisationPointAdapter()
This creates an adapter for aSynchronisationPoint
.- Overrides:
createSynchronisationPointAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createExternalCallActionAdapter
public Adapter createExternalCallActionAdapter()
This creates an adapter for aExternalCallAction
.- Overrides:
createExternalCallActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createCallReturnActionAdapter
public Adapter createCallReturnActionAdapter()
This creates an adapter for aCallReturnAction
.- Overrides:
createCallReturnActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createProbabilisticBranchTransitionAdapter
public Adapter createProbabilisticBranchTransitionAdapter()
This creates an adapter for aProbabilisticBranchTransition
.- Overrides:
createProbabilisticBranchTransitionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createAcquireActionAdapter
public Adapter createAcquireActionAdapter()
This creates an adapter for aAcquireAction
.- Overrides:
createAcquireActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createCollectionIteratorActionAdapter
public Adapter createCollectionIteratorActionAdapter()
This creates an adapter for aCollectionIteratorAction
.- Overrides:
createCollectionIteratorActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createGuardedBranchTransitionAdapter
public Adapter createGuardedBranchTransitionAdapter()
This creates an adapter for aGuardedBranchTransition
.- Overrides:
createGuardedBranchTransitionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createSetVariableActionAdapter
public Adapter createSetVariableActionAdapter()
This creates an adapter for aSetVariableAction
.- Overrides:
createSetVariableActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createInternalCallActionAdapter
public Adapter createInternalCallActionAdapter()
This creates an adapter for aInternalCallAction
.- Overrides:
createInternalCallActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createEmitEventActionAdapter
public Adapter createEmitEventActionAdapter()
This creates an adapter for aEmitEventAction
.- Overrides:
createEmitEventActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- Generated class or method.
-
createInternalActionAdapter
public Adapter createInternalActionAdapter()
This creates an adapter for aInternalAction
.- Overrides:
createInternalActionAdapter
in classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- 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 classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory
- 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.
-
getChildCreationExtenders
public List<IChildCreationExtender> getChildCreationExtenders()
- Generated class or method.
-
getNewChildDescriptors
public Collection<?> getNewChildDescriptors(Object object, EditingDomain editingDomain)
- Specified by:
getNewChildDescriptors
in interfaceIChildCreationExtender
- Generated class or method.
-
getResourceLocator
public ResourceLocator getResourceLocator()
- Specified by:
getResourceLocator
in interfaceIChildCreationExtender
- 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.
-
dispose
public void dispose()
This disposes all of the item providers created by this factory.- Specified by:
dispose
in interfaceIDisposable
- Generated class or method.
-
-