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 AcquireActionItemProvideracquireActionItemProviderThis keeps track of the one adapter used for allAcquireActioninstances.protected BranchActionItemProviderbranchActionItemProviderThis keeps track of the one adapter used for allBranchActioninstances.protected CallReturnActionItemProvidercallReturnActionItemProviderThis keeps track of the one adapter used for allCallReturnActioninstances.protected IChangeNotifierchangeNotifierThis is used to implementIChangeNotifier.protected ChildCreationExtenderManagerchildCreationExtenderManagerThis helps manage the child creation extenders.protected CollectionIteratorActionItemProvidercollectionIteratorActionItemProviderThis keeps track of the one adapter used for allCollectionIteratorActioninstances.static Stringcopyrightprotected EmitEventActionItemProvideremitEventActionItemProviderThis keeps track of the one adapter used for allEmitEventActioninstances.protected ExternalCallActionItemProviderexternalCallActionItemProviderThis keeps track of the one adapter used for allExternalCallActioninstances.protected ForkActionItemProviderforkActionItemProviderThis keeps track of the one adapter used for allForkActioninstances.protected ForkedBehaviourItemProviderforkedBehaviourItemProviderThis keeps track of the one adapter used for allForkedBehaviourinstances.protected GuardedBranchTransitionItemProviderguardedBranchTransitionItemProviderThis keeps track of the one adapter used for allGuardedBranchTransitioninstances.protected InternalActionItemProviderinternalActionItemProviderThis keeps track of the one adapter used for allInternalActioninstances.protected InternalCallActionItemProviderinternalCallActionItemProviderThis keeps track of the one adapter used for allInternalCallActioninstances.protected LoopActionItemProviderloopActionItemProviderThis keeps track of the one adapter used for allLoopActioninstances.protected ComposedAdapterFactoryparentAdapterFactoryThis keeps track of the root adapter factory that delegates to this adapter factory.protected ProbabilisticBranchTransitionItemProviderprobabilisticBranchTransitionItemProviderThis keeps track of the one adapter used for allProbabilisticBranchTransitioninstances.protected ReleaseActionItemProviderreleaseActionItemProviderThis keeps track of the one adapter used for allReleaseActioninstances.protected ResourceDemandingBehaviourItemProviderresourceDemandingBehaviourItemProviderThis keeps track of the one adapter used for allResourceDemandingBehaviourinstances.protected ResourceDemandingInternalBehaviourItemProviderresourceDemandingInternalBehaviourItemProviderThis keeps track of the one adapter used for allResourceDemandingInternalBehaviourinstances.protected ResourceDemandingSEFFItemProviderresourceDemandingSEFFItemProviderThis keeps track of the one adapter used for allResourceDemandingSEFFinstances.protected SetVariableActionItemProvidersetVariableActionItemProviderThis keeps track of the one adapter used for allSetVariableActioninstances.protected StartActionItemProviderstartActionItemProviderThis keeps track of the one adapter used for allStartActioninstances.protected StopActionItemProviderstopActionItemProviderThis keeps track of the one adapter used for allStopActioninstances.protected Collection<Object>supportedTypesThis keeps track of all the supported types checked byisFactoryForType.protected SynchronisationPointItemProvidersynchronisationPointItemProviderThis keeps track of the one adapter used for allSynchronisationPointinstances.
-
Constructor Summary
Constructors Constructor Description SeffItemProviderAdapterFactory()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.AdaptercreateAcquireActionAdapter()This creates an adapter for aAcquireAction.AdaptercreateBranchActionAdapter()This creates an adapter for aBranchAction.AdaptercreateCallReturnActionAdapter()This creates an adapter for aCallReturnAction.AdaptercreateCollectionIteratorActionAdapter()This creates an adapter for aCollectionIteratorAction.AdaptercreateEmitEventActionAdapter()This creates an adapter for aEmitEventAction.AdaptercreateExternalCallActionAdapter()This creates an adapter for aExternalCallAction.AdaptercreateForkActionAdapter()This creates an adapter for aForkAction.AdaptercreateForkedBehaviourAdapter()This creates an adapter for aForkedBehaviour.AdaptercreateGuardedBranchTransitionAdapter()This creates an adapter for aGuardedBranchTransition.AdaptercreateInternalActionAdapter()This creates an adapter for aInternalAction.AdaptercreateInternalCallActionAdapter()This creates an adapter for aInternalCallAction.AdaptercreateLoopActionAdapter()This creates an adapter for aLoopAction.AdaptercreateProbabilisticBranchTransitionAdapter()This creates an adapter for aProbabilisticBranchTransition.AdaptercreateReleaseActionAdapter()This creates an adapter for aReleaseAction.AdaptercreateResourceDemandingBehaviourAdapter()This creates an adapter for aResourceDemandingBehaviour.AdaptercreateResourceDemandingInternalBehaviourAdapter()This creates an adapter for aResourceDemandingInternalBehaviour.AdaptercreateResourceDemandingSEFFAdapter()This creates an adapter for aResourceDemandingSEFF.AdaptercreateSetVariableActionAdapter()This creates an adapter for aSetVariableAction.AdaptercreateStartActionAdapter()This creates an adapter for aStartAction.AdaptercreateStopActionAdapter()This creates an adapter for aStopAction.AdaptercreateSynchronisationPointAdapter()This creates an adapter for aSynchronisationPoint.voiddispose()This disposes all of the item providers created by this factory.voidfireNotifyChanged(Notification notification)This delegates tochangeNotifierand toparentAdapterFactory.List<IChildCreationExtender>getChildCreationExtenders()Collection<?>getNewChildDescriptors(Object object, EditingDomain editingDomain)ResourceLocatorgetResourceLocator()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.pcm.seff.util.SeffAdapterFactory
createAbstractActionAdapter, createAbstractBranchTransitionAdapter, createAbstractInternalControlFlowActionAdapter, createAbstractLoopActionAdapter, createAdapter, createCallActionAdapter, createEntityAdapter, createEObjectAdapter, createFailureHandlingEntityAdapter, createIdentifierAdapter, createNamedElementAdapter, 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 allStopActioninstances.- Generated class or method.
-
resourceDemandingBehaviourItemProvider
protected ResourceDemandingBehaviourItemProvider resourceDemandingBehaviourItemProvider
This keeps track of the one adapter used for allResourceDemandingBehaviourinstances.- Generated class or method.
-
branchActionItemProvider
protected BranchActionItemProvider branchActionItemProvider
This keeps track of the one adapter used for allBranchActioninstances.- Generated class or method.
-
startActionItemProvider
protected StartActionItemProvider startActionItemProvider
This keeps track of the one adapter used for allStartActioninstances.- Generated class or method.
-
resourceDemandingSEFFItemProvider
protected ResourceDemandingSEFFItemProvider resourceDemandingSEFFItemProvider
This keeps track of the one adapter used for allResourceDemandingSEFFinstances.- Generated class or method.
-
resourceDemandingInternalBehaviourItemProvider
protected ResourceDemandingInternalBehaviourItemProvider resourceDemandingInternalBehaviourItemProvider
This keeps track of the one adapter used for allResourceDemandingInternalBehaviourinstances.- Generated class or method.
-
releaseActionItemProvider
protected ReleaseActionItemProvider releaseActionItemProvider
This keeps track of the one adapter used for allReleaseActioninstances.- Generated class or method.
-
loopActionItemProvider
protected LoopActionItemProvider loopActionItemProvider
This keeps track of the one adapter used for allLoopActioninstances.- Generated class or method.
-
forkActionItemProvider
protected ForkActionItemProvider forkActionItemProvider
This keeps track of the one adapter used for allForkActioninstances.- Generated class or method.
-
forkedBehaviourItemProvider
protected ForkedBehaviourItemProvider forkedBehaviourItemProvider
This keeps track of the one adapter used for allForkedBehaviourinstances.- Generated class or method.
-
synchronisationPointItemProvider
protected SynchronisationPointItemProvider synchronisationPointItemProvider
This keeps track of the one adapter used for allSynchronisationPointinstances.- Generated class or method.
-
externalCallActionItemProvider
protected ExternalCallActionItemProvider externalCallActionItemProvider
This keeps track of the one adapter used for allExternalCallActioninstances.- Generated class or method.
-
callReturnActionItemProvider
protected CallReturnActionItemProvider callReturnActionItemProvider
This keeps track of the one adapter used for allCallReturnActioninstances.- Generated class or method.
-
probabilisticBranchTransitionItemProvider
protected ProbabilisticBranchTransitionItemProvider probabilisticBranchTransitionItemProvider
This keeps track of the one adapter used for allProbabilisticBranchTransitioninstances.- Generated class or method.
-
acquireActionItemProvider
protected AcquireActionItemProvider acquireActionItemProvider
This keeps track of the one adapter used for allAcquireActioninstances.- Generated class or method.
-
collectionIteratorActionItemProvider
protected CollectionIteratorActionItemProvider collectionIteratorActionItemProvider
This keeps track of the one adapter used for allCollectionIteratorActioninstances.- Generated class or method.
-
guardedBranchTransitionItemProvider
protected GuardedBranchTransitionItemProvider guardedBranchTransitionItemProvider
This keeps track of the one adapter used for allGuardedBranchTransitioninstances.- Generated class or method.
-
setVariableActionItemProvider
protected SetVariableActionItemProvider setVariableActionItemProvider
This keeps track of the one adapter used for allSetVariableActioninstances.- Generated class or method.
-
internalCallActionItemProvider
protected InternalCallActionItemProvider internalCallActionItemProvider
This keeps track of the one adapter used for allInternalCallActioninstances.- Generated class or method.
-
emitEventActionItemProvider
protected EmitEventActionItemProvider emitEventActionItemProvider
This keeps track of the one adapter used for allEmitEventActioninstances.- Generated class or method.
-
internalActionItemProvider
protected InternalActionItemProvider internalActionItemProvider
This keeps track of the one adapter used for allInternalActioninstances.- Generated class or method.
-
-
Method Detail
-
createStopActionAdapter
public Adapter createStopActionAdapter()
This creates an adapter for aStopAction.- Overrides:
createStopActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createResourceDemandingBehaviourAdapter
public Adapter createResourceDemandingBehaviourAdapter()
This creates an adapter for aResourceDemandingBehaviour.- Overrides:
createResourceDemandingBehaviourAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createBranchActionAdapter
public Adapter createBranchActionAdapter()
This creates an adapter for aBranchAction.- Overrides:
createBranchActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createStartActionAdapter
public Adapter createStartActionAdapter()
This creates an adapter for aStartAction.- Overrides:
createStartActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createResourceDemandingSEFFAdapter
public Adapter createResourceDemandingSEFFAdapter()
This creates an adapter for aResourceDemandingSEFF.- Overrides:
createResourceDemandingSEFFAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createResourceDemandingInternalBehaviourAdapter
public Adapter createResourceDemandingInternalBehaviourAdapter()
This creates an adapter for aResourceDemandingInternalBehaviour.- Overrides:
createResourceDemandingInternalBehaviourAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createReleaseActionAdapter
public Adapter createReleaseActionAdapter()
This creates an adapter for aReleaseAction.- Overrides:
createReleaseActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createLoopActionAdapter
public Adapter createLoopActionAdapter()
This creates an adapter for aLoopAction.- Overrides:
createLoopActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createForkActionAdapter
public Adapter createForkActionAdapter()
This creates an adapter for aForkAction.- Overrides:
createForkActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createForkedBehaviourAdapter
public Adapter createForkedBehaviourAdapter()
This creates an adapter for aForkedBehaviour.- Overrides:
createForkedBehaviourAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createSynchronisationPointAdapter
public Adapter createSynchronisationPointAdapter()
This creates an adapter for aSynchronisationPoint.- Overrides:
createSynchronisationPointAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createExternalCallActionAdapter
public Adapter createExternalCallActionAdapter()
This creates an adapter for aExternalCallAction.- Overrides:
createExternalCallActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createCallReturnActionAdapter
public Adapter createCallReturnActionAdapter()
This creates an adapter for aCallReturnAction.- Overrides:
createCallReturnActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createProbabilisticBranchTransitionAdapter
public Adapter createProbabilisticBranchTransitionAdapter()
This creates an adapter for aProbabilisticBranchTransition.- Overrides:
createProbabilisticBranchTransitionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createAcquireActionAdapter
public Adapter createAcquireActionAdapter()
This creates an adapter for aAcquireAction.- Overrides:
createAcquireActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createCollectionIteratorActionAdapter
public Adapter createCollectionIteratorActionAdapter()
This creates an adapter for aCollectionIteratorAction.- Overrides:
createCollectionIteratorActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createGuardedBranchTransitionAdapter
public Adapter createGuardedBranchTransitionAdapter()
This creates an adapter for aGuardedBranchTransition.- Overrides:
createGuardedBranchTransitionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createSetVariableActionAdapter
public Adapter createSetVariableActionAdapter()
This creates an adapter for aSetVariableAction.- Overrides:
createSetVariableActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createInternalCallActionAdapter
public Adapter createInternalCallActionAdapter()
This creates an adapter for aInternalCallAction.- Overrides:
createInternalCallActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createEmitEventActionAdapter
public Adapter createEmitEventActionAdapter()
This creates an adapter for aEmitEventAction.- Overrides:
createEmitEventActionAdapterin classorg.palladiosimulator.pcm.seff.util.SeffAdapterFactory- Generated class or method.
-
createInternalActionAdapter
public Adapter createInternalActionAdapter()
This creates an adapter for aInternalAction.- Overrides:
createInternalActionAdapterin 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:
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 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:
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.
-
getChildCreationExtenders
public List<IChildCreationExtender> getChildCreationExtenders()
- Generated class or method.
-
getNewChildDescriptors
public Collection<?> getNewChildDescriptors(Object object, EditingDomain editingDomain)
- Specified by:
getNewChildDescriptorsin interfaceIChildCreationExtender- Generated class or method.
-
getResourceLocator
public ResourceLocator getResourceLocator()
- Specified by:
getResourceLocatorin interfaceIChildCreationExtender- 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.
-
-