Class ProbfunctionItemProviderAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- de.uka.ipd.sdq.probfunction.util.ProbfunctionAdapterFactory
-
- de.uka.ipd.sdq.probfunction.provider.ProbfunctionItemProviderAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory,ComposeableAdapterFactory,IChangeNotifier,IDisposable
public class ProbfunctionItemProviderAdapterFactory extends ProbfunctionAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable
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 BoolSampleItemProviderboolSampleItemProviderThis keeps track of the one adapter used for allBoolSampleinstances.protected BoxedPDFItemProviderboxedPDFItemProviderThis keeps track of the one adapter used for allBoxedPDFinstances.protected IChangeNotifierchangeNotifierThis is used to implementIChangeNotifier.protected ComplexItemProvidercomplexItemProviderThis keeps track of the one adapter used for allComplexinstances.protected ContinuousSampleItemProvidercontinuousSampleItemProviderThis keeps track of the one adapter used for allContinuousSampleinstances.static Stringcopyrightprotected DoubleSampleItemProviderdoubleSampleItemProviderThis keeps track of the one adapter used for allDoubleSampleinstances.protected ExponentialDistributionItemProviderexponentialDistributionItemProviderThis keeps track of the one adapter used for allExponentialDistributioninstances.protected GammaDistributionItemProvidergammaDistributionItemProviderThis keeps track of the one adapter used for allGammaDistributioninstances.protected IntSampleItemProviderintSampleItemProviderThis keeps track of the one adapter used for allIntSampleinstances.protected LognormalDistributionItemProviderlognormalDistributionItemProviderThis keeps track of the one adapter used for allLognormalDistributioninstances.protected NormalDistributionItemProvidernormalDistributionItemProviderThis keeps track of the one adapter used for allNormalDistributioninstances.protected ComposedAdapterFactoryparentAdapterFactoryThis keeps track of the root adapter factory that delegates to this adapter factory.protected ProbabilityMassFunctionItemProviderprobabilityMassFunctionItemProviderThis keeps track of the one adapter used for allProbabilityMassFunctioninstances.protected SampleItemProvidersampleItemProviderThis keeps track of the one adapter used for allSampleinstances.protected SamplePDFItemProvidersamplePDFItemProviderThis keeps track of the one adapter used for allSamplePDFinstances.protected StringSampleItemProviderstringSampleItemProviderThis keeps track of the one adapter used for allStringSampleinstances.protected Collection<Object>supportedTypesThis keeps track of all the supported types checked byisFactoryForType.-
Fields inherited from class de.uka.ipd.sdq.probfunction.util.ProbfunctionAdapterFactory
modelPackage, modelSwitch
-
-
Constructor Summary
Constructors Constructor Description ProbfunctionItemProviderAdapterFactory()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.AdaptercreateBoolSampleAdapter()This creates an adapter for aBoolSample.AdaptercreateBoxedPDFAdapter()This creates an adapter for aBoxedPDF.AdaptercreateComplexAdapter()This creates an adapter for aComplex.AdaptercreateContinuousSampleAdapter()This creates an adapter for aContinuousSample.AdaptercreateDoubleSampleAdapter()This creates an adapter for aDoubleSample.AdaptercreateExponentialDistributionAdapter()This creates an adapter for aExponentialDistribution.AdaptercreateGammaDistributionAdapter()This creates an adapter for aGammaDistribution.AdaptercreateIntSampleAdapter()This creates an adapter for aIntSample.AdaptercreateLognormalDistributionAdapter()This creates an adapter for aLognormalDistribution.AdaptercreateNormalDistributionAdapter()This creates an adapter for aNormalDistribution.AdaptercreateProbabilityMassFunctionAdapter()This creates an adapter for aProbabilityMassFunction.AdaptercreateSampleAdapter()This creates an adapter for aSample.AdaptercreateSamplePDFAdapter()This creates an adapter for aSamplePDF.AdaptercreateStringSampleAdapter()This creates an adapter for aStringSample.voiddispose()This disposes all of the item providers created by this factory.voidfireNotifyChanged(Notification notification)This delegates tochangeNotifierand toparentAdapterFactory.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 de.uka.ipd.sdq.probfunction.util.ProbfunctionAdapterFactory
createAdapter, createContinuousPDFAdapter, createEObjectAdapter, createProbabilityDensityFunctionAdapter, createProbabilityFunctionAdapter, createUnitCarryingElementAdapter
-
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.
-
supportedTypes
protected Collection<Object> supportedTypes
This keeps track of all the supported types checked byisFactoryForType.- Generated class or method.
-
boxedPDFItemProvider
protected BoxedPDFItemProvider boxedPDFItemProvider
This keeps track of the one adapter used for allBoxedPDFinstances.- Generated class or method.
-
continuousSampleItemProvider
protected ContinuousSampleItemProvider continuousSampleItemProvider
This keeps track of the one adapter used for allContinuousSampleinstances.- Generated class or method.
-
probabilityMassFunctionItemProvider
protected ProbabilityMassFunctionItemProvider probabilityMassFunctionItemProvider
This keeps track of the one adapter used for allProbabilityMassFunctioninstances.- Generated class or method.
-
sampleItemProvider
protected SampleItemProvider sampleItemProvider
This keeps track of the one adapter used for allSampleinstances.- Generated class or method.
-
samplePDFItemProvider
protected SamplePDFItemProvider samplePDFItemProvider
This keeps track of the one adapter used for allSamplePDFinstances.- Generated class or method.
-
complexItemProvider
protected ComplexItemProvider complexItemProvider
This keeps track of the one adapter used for allComplexinstances.- Generated class or method.
-
exponentialDistributionItemProvider
protected ExponentialDistributionItemProvider exponentialDistributionItemProvider
This keeps track of the one adapter used for allExponentialDistributioninstances.- Generated class or method.
-
normalDistributionItemProvider
protected NormalDistributionItemProvider normalDistributionItemProvider
This keeps track of the one adapter used for allNormalDistributioninstances.- Generated class or method.
-
lognormalDistributionItemProvider
protected LognormalDistributionItemProvider lognormalDistributionItemProvider
This keeps track of the one adapter used for allLognormalDistributioninstances.- Generated class or method.
-
gammaDistributionItemProvider
protected GammaDistributionItemProvider gammaDistributionItemProvider
This keeps track of the one adapter used for allGammaDistributioninstances.- Generated class or method.
-
intSampleItemProvider
protected IntSampleItemProvider intSampleItemProvider
This keeps track of the one adapter used for allIntSampleinstances.- Generated class or method.
-
boolSampleItemProvider
protected BoolSampleItemProvider boolSampleItemProvider
This keeps track of the one adapter used for allBoolSampleinstances.- Generated class or method.
-
doubleSampleItemProvider
protected DoubleSampleItemProvider doubleSampleItemProvider
This keeps track of the one adapter used for allDoubleSampleinstances.- Generated class or method.
-
stringSampleItemProvider
protected StringSampleItemProvider stringSampleItemProvider
This keeps track of the one adapter used for allStringSampleinstances.- Generated class or method.
-
-
Method Detail
-
createBoxedPDFAdapter
public Adapter createBoxedPDFAdapter()
This creates an adapter for aBoxedPDF.- Overrides:
createBoxedPDFAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
BoxedPDF- Generated class or method.
-
createContinuousSampleAdapter
public Adapter createContinuousSampleAdapter()
This creates an adapter for aContinuousSample.- Overrides:
createContinuousSampleAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
ContinuousSample- Generated class or method.
-
createProbabilityMassFunctionAdapter
public Adapter createProbabilityMassFunctionAdapter()
This creates an adapter for aProbabilityMassFunction.- Overrides:
createProbabilityMassFunctionAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
ProbabilityMassFunction- Generated class or method.
-
createSampleAdapter
public Adapter createSampleAdapter()
This creates an adapter for aSample.- Overrides:
createSampleAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
Sample- Generated class or method.
-
createSamplePDFAdapter
public Adapter createSamplePDFAdapter()
This creates an adapter for aSamplePDF.- Overrides:
createSamplePDFAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
SamplePDF- Generated class or method.
-
createComplexAdapter
public Adapter createComplexAdapter()
This creates an adapter for aComplex.- Overrides:
createComplexAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
Complex- Generated class or method.
-
createExponentialDistributionAdapter
public Adapter createExponentialDistributionAdapter()
This creates an adapter for aExponentialDistribution.- Overrides:
createExponentialDistributionAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
ExponentialDistribution- Generated class or method.
-
createNormalDistributionAdapter
public Adapter createNormalDistributionAdapter()
This creates an adapter for aNormalDistribution.- Overrides:
createNormalDistributionAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
NormalDistribution- Generated class or method.
-
createLognormalDistributionAdapter
public Adapter createLognormalDistributionAdapter()
This creates an adapter for aLognormalDistribution.- Overrides:
createLognormalDistributionAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
LognormalDistribution- Generated class or method.
-
createGammaDistributionAdapter
public Adapter createGammaDistributionAdapter()
This creates an adapter for aGammaDistribution.- Overrides:
createGammaDistributionAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
GammaDistribution- Generated class or method.
-
createIntSampleAdapter
public Adapter createIntSampleAdapter()
This creates an adapter for aIntSample.- Overrides:
createIntSampleAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
IntSample- Generated class or method.
-
createBoolSampleAdapter
public Adapter createBoolSampleAdapter()
This creates an adapter for aBoolSample.- Overrides:
createBoolSampleAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
BoolSample- Generated class or method.
-
createDoubleSampleAdapter
public Adapter createDoubleSampleAdapter()
This creates an adapter for aDoubleSample.- Overrides:
createDoubleSampleAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
DoubleSample- Generated class or method.
-
createStringSampleAdapter
public Adapter createStringSampleAdapter()
This creates an adapter for aStringSample.- Overrides:
createStringSampleAdapterin classProbfunctionAdapterFactory- Returns:
- the new adapter.
- See Also:
StringSample- 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 classProbfunctionAdapterFactory- 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:
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.
-
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.
-
-