Class UsagemodelItemProviderAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory
-
- org.palladiosimulator.pcm.usagemodel.provider.UsagemodelItemProviderAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory,ComposeableAdapterFactory,IChangeNotifier,IChildCreationExtender,IDisposable
public class UsagemodelItemProviderAdapterFactory extends org.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory 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 BranchItemProviderbranchItemProviderThis keeps track of the one adapter used for allBranchinstances.protected BranchTransitionItemProviderbranchTransitionItemProviderThis keeps track of the one adapter used for allBranchTransitioninstances.protected IChangeNotifierchangeNotifierThis is used to implementIChangeNotifier.protected ChildCreationExtenderManagerchildCreationExtenderManagerThis helps manage the child creation extenders.protected ClosedWorkloadItemProviderclosedWorkloadItemProviderThis keeps track of the one adapter used for allClosedWorkloadinstances.static Stringcopyrightprotected DelayItemProviderdelayItemProviderThis keeps track of the one adapter used for allDelayinstances.protected EntryLevelSystemCallItemProviderentryLevelSystemCallItemProviderThis keeps track of the one adapter used for allEntryLevelSystemCallinstances.protected LoopItemProviderloopItemProviderThis keeps track of the one adapter used for allLoopinstances.protected OpenWorkloadItemProvideropenWorkloadItemProviderThis keeps track of the one adapter used for allOpenWorkloadinstances.protected ComposedAdapterFactoryparentAdapterFactoryThis keeps track of the root adapter factory that delegates to this adapter factory.protected ScenarioBehaviourItemProviderscenarioBehaviourItemProviderThis keeps track of the one adapter used for allScenarioBehaviourinstances.protected StartItemProviderstartItemProviderThis keeps track of the one adapter used for allStartinstances.protected StopItemProviderstopItemProviderThis keeps track of the one adapter used for allStopinstances.protected Collection<Object>supportedTypesThis keeps track of all the supported types checked byisFactoryForType.protected UsageModelItemProviderusageModelItemProviderThis keeps track of the one adapter used for allUsageModelinstances.protected UsageScenarioItemProviderusageScenarioItemProviderThis keeps track of the one adapter used for allUsageScenarioinstances.protected UserDataItemProvideruserDataItemProviderThis keeps track of the one adapter used for allUserDatainstances.
-
Constructor Summary
Constructors Constructor Description UsagemodelItemProviderAdapterFactory()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.AdaptercreateBranchAdapter()This creates an adapter for aBranch.AdaptercreateBranchTransitionAdapter()This creates an adapter for aBranchTransition.AdaptercreateClosedWorkloadAdapter()This creates an adapter for aClosedWorkload.AdaptercreateDelayAdapter()This creates an adapter for aDelay.AdaptercreateEntryLevelSystemCallAdapter()This creates an adapter for aEntryLevelSystemCall.AdaptercreateLoopAdapter()This creates an adapter for aLoop.AdaptercreateOpenWorkloadAdapter()This creates an adapter for aOpenWorkload.AdaptercreateScenarioBehaviourAdapter()This creates an adapter for aScenarioBehaviour.AdaptercreateStartAdapter()This creates an adapter for aStart.AdaptercreateStopAdapter()This creates an adapter for aStop.AdaptercreateUsageModelAdapter()This creates an adapter for aUsageModel.AdaptercreateUsageScenarioAdapter()This creates an adapter for aUsageScenario.AdaptercreateUserDataAdapter()This creates an adapter for aUserData.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.usagemodel.util.UsagemodelAdapterFactory
createAbstractUserActionAdapter, createAdapter, createEntityAdapter, createEObjectAdapter, createIdentifierAdapter, createNamedElementAdapter, createWorkloadAdapter
-
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.
-
usageScenarioItemProvider
protected UsageScenarioItemProvider usageScenarioItemProvider
This keeps track of the one adapter used for allUsageScenarioinstances.- Generated class or method.
-
userDataItemProvider
protected UserDataItemProvider userDataItemProvider
This keeps track of the one adapter used for allUserDatainstances.- Generated class or method.
-
usageModelItemProvider
protected UsageModelItemProvider usageModelItemProvider
This keeps track of the one adapter used for allUsageModelinstances.- Generated class or method.
-
entryLevelSystemCallItemProvider
protected EntryLevelSystemCallItemProvider entryLevelSystemCallItemProvider
This keeps track of the one adapter used for allEntryLevelSystemCallinstances.- Generated class or method.
-
scenarioBehaviourItemProvider
protected ScenarioBehaviourItemProvider scenarioBehaviourItemProvider
This keeps track of the one adapter used for allScenarioBehaviourinstances.- Generated class or method.
-
branchTransitionItemProvider
protected BranchTransitionItemProvider branchTransitionItemProvider
This keeps track of the one adapter used for allBranchTransitioninstances.- Generated class or method.
-
branchItemProvider
protected BranchItemProvider branchItemProvider
This keeps track of the one adapter used for allBranchinstances.- Generated class or method.
-
loopItemProvider
protected LoopItemProvider loopItemProvider
This keeps track of the one adapter used for allLoopinstances.- Generated class or method.
-
stopItemProvider
protected StopItemProvider stopItemProvider
This keeps track of the one adapter used for allStopinstances.- Generated class or method.
-
startItemProvider
protected StartItemProvider startItemProvider
This keeps track of the one adapter used for allStartinstances.- Generated class or method.
-
openWorkloadItemProvider
protected OpenWorkloadItemProvider openWorkloadItemProvider
This keeps track of the one adapter used for allOpenWorkloadinstances.- Generated class or method.
-
delayItemProvider
protected DelayItemProvider delayItemProvider
This keeps track of the one adapter used for allDelayinstances.- Generated class or method.
-
closedWorkloadItemProvider
protected ClosedWorkloadItemProvider closedWorkloadItemProvider
This keeps track of the one adapter used for allClosedWorkloadinstances.- Generated class or method.
-
-
Method Detail
-
createUsageScenarioAdapter
public Adapter createUsageScenarioAdapter()
This creates an adapter for aUsageScenario.- Overrides:
createUsageScenarioAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createUserDataAdapter
public Adapter createUserDataAdapter()
This creates an adapter for aUserData.- Overrides:
createUserDataAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createUsageModelAdapter
public Adapter createUsageModelAdapter()
This creates an adapter for aUsageModel.- Overrides:
createUsageModelAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createEntryLevelSystemCallAdapter
public Adapter createEntryLevelSystemCallAdapter()
This creates an adapter for aEntryLevelSystemCall.- Overrides:
createEntryLevelSystemCallAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createScenarioBehaviourAdapter
public Adapter createScenarioBehaviourAdapter()
This creates an adapter for aScenarioBehaviour.- Overrides:
createScenarioBehaviourAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createBranchTransitionAdapter
public Adapter createBranchTransitionAdapter()
This creates an adapter for aBranchTransition.- Overrides:
createBranchTransitionAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createBranchAdapter
public Adapter createBranchAdapter()
This creates an adapter for aBranch.- Overrides:
createBranchAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createLoopAdapter
public Adapter createLoopAdapter()
This creates an adapter for aLoop.- Overrides:
createLoopAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createStopAdapter
public Adapter createStopAdapter()
This creates an adapter for aStop.- Overrides:
createStopAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createStartAdapter
public Adapter createStartAdapter()
This creates an adapter for aStart.- Overrides:
createStartAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createOpenWorkloadAdapter
public Adapter createOpenWorkloadAdapter()
This creates an adapter for aOpenWorkload.- Overrides:
createOpenWorkloadAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createDelayAdapter
public Adapter createDelayAdapter()
This creates an adapter for aDelay.- Overrides:
createDelayAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- Generated class or method.
-
createClosedWorkloadAdapter
public Adapter createClosedWorkloadAdapter()
This creates an adapter for aClosedWorkload.- Overrides:
createClosedWorkloadAdapterin classorg.palladiosimulator.pcm.usagemodel.util.UsagemodelAdapterFactory- 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.usagemodel.util.UsagemodelAdapterFactory- 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.
-
-