Package tools.descartes.dlim.provider
Class DlimItemProviderAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
tools.descartes.dlim.util.DlimAdapterFactory
tools.descartes.dlim.provider.DlimItemProviderAdapterFactory
- All Implemented Interfaces:
AdapterFactory,ComposeableAdapterFactory,IChangeNotifier,IDisposable
public class DlimItemProviderAdapterFactory
extends DlimAdapterFactory
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 to
fireNotifyChanged.
The adapters also support Eclipse property sheets.
Note that most of the adapters are shared among multiple instances.
- Generated class or method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AbsoluteSinItemProviderThis keeps track of the one adapter used for allAbsoluteSininstances.protected AbsoluteValueFunctionItemProviderThis keeps track of the one adapter used for allAbsoluteValueFunctioninstances.protected ArrivalRatesFromFileItemProviderThis keeps track of the one adapter used for allArrivalRatesFromFileinstances.protected IChangeNotifierThis is used to implementIChangeNotifier.protected CombinatorItemProviderThis keeps track of the one adapter used for allCombinatorinstances.protected ConstantItemProviderThis keeps track of the one adapter used for allConstantinstances.This keeps track of the one adapter used for allExponentialIncreaseAndDeclineinstances.This keeps track of the one adapter used for allExponentialIncreaseLogarithmicDeclineinstances.protected ExponentialTrendItemProviderThis keeps track of the one adapter used for allExponentialTrendinstances.protected LinearIncreaseAndDeclineItemProviderThis keeps track of the one adapter used for allLinearIncreaseAndDeclineinstances.protected LinearTrendItemProviderThis keeps track of the one adapter used for allLinearTrendinstances.protected LogarithmicTrendItemProviderThis keeps track of the one adapter used for allLogarithmicTrendinstances.protected NormalNoiseItemProviderThis keeps track of the one adapter used for allNormalNoiseinstances.protected ComposedAdapterFactoryThis keeps track of the root adapter factory that delegates to this adapter factory.protected PolynomialFactorItemProviderThis keeps track of the one adapter used for allPolynomialFactorinstances.protected PolynomialItemProviderThis keeps track of the one adapter used for allPolynomialinstances.protected ReferenceClockObjectItemProviderThis keeps track of the one adapter used for allReferenceClockObjectinstances.protected SequenceItemProviderThis keeps track of the one adapter used for allSequenceinstances.protected SinItemProviderThis keeps track of the one adapter used for allSininstances.protected SinTrendItemProviderThis keeps track of the one adapter used for allSinTrendinstances.protected Collection<Object>This keeps track of all the supported types checked byisFactoryForType.This keeps track of the one adapter used for allTimeDependentFunctionContainerinstances.protected UniformNoiseItemProviderThis keeps track of the one adapter used for allUniformNoiseinstances.Fields inherited from class tools.descartes.dlim.util.DlimAdapterFactory
modelPackage, modelSwitch -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis implementation substitutes the factory itself as the key for the adapter.voidaddListener(INotifyChangedListener notifyChangedListener) This adds a listener.This creates an adapter for aAbsoluteSin.This creates an adapter for aAbsoluteValueFunction.This creates an adapter for aArrivalRatesFromFile.This creates an adapter for aCombinator.This creates an adapter for aConstant.This creates an adapter for aExponentialIncreaseAndDecline.This creates an adapter for aExponentialIncreaseLogarithmicDecline.This creates an adapter for aExponentialTrend.This creates an adapter for aLinearIncreaseAndDecline.This creates an adapter for aLinearTrend.This creates an adapter for aLogarithmicTrend.This creates an adapter for aNormalNoise.This creates an adapter for aPolynomial.This creates an adapter for aPolynomialFactor.This creates an adapter for aReferenceClockObject.This creates an adapter for aSequence.This creates an adapter for aSin.This creates an adapter for aSinTrend.This creates an adapter for aTimeDependentFunctionContainer.This creates an adapter for aUniformNoise.voiddispose()This disposes all of the item providers created by this factory.voidfireNotifyChanged(Notification notification) This delegates tochangeNotifierand toparentAdapterFactory.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 tools.descartes.dlim.util.DlimAdapterFactory
createAdapter, createBurstAdapter, createEObjectAdapter, createFunctionAdapter, createNoiseAdapter, createSeasonalAdapter, createTrendAdapter, createUnivariateFunctionAdapterMethods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adaptAllNew, adaptNew, associate, createAdapter, resolveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.emf.common.notify.AdapterFactory
adaptAllNew, adaptNew
-
Field Details
-
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.
-
supportedTypes
This keeps track of all the supported types checked byisFactoryForType.- Generated class or method.
-
sequenceItemProvider
This keeps track of the one adapter used for allSequenceinstances.- Generated class or method.
-
combinatorItemProvider
This keeps track of the one adapter used for allCombinatorinstances.- Generated class or method.
-
timeDependentFunctionContainerItemProvider
This keeps track of the one adapter used for allTimeDependentFunctionContainerinstances.- Generated class or method.
-
uniformNoiseItemProvider
This keeps track of the one adapter used for allUniformNoiseinstances.- Generated class or method.
-
normalNoiseItemProvider
This keeps track of the one adapter used for allNormalNoiseinstances.- Generated class or method.
-
constantItemProvider
This keeps track of the one adapter used for allConstantinstances.- Generated class or method.
-
sinItemProvider
This keeps track of the one adapter used for allSininstances.- Generated class or method.
-
exponentialIncreaseAndDeclineItemProvider
This keeps track of the one adapter used for allExponentialIncreaseAndDeclineinstances.- Generated class or method.
-
exponentialIncreaseLogarithmicDeclineItemProvider
protected ExponentialIncreaseLogarithmicDeclineItemProvider exponentialIncreaseLogarithmicDeclineItemProviderThis keeps track of the one adapter used for allExponentialIncreaseLogarithmicDeclineinstances.- Generated class or method.
-
linearIncreaseAndDeclineItemProvider
This keeps track of the one adapter used for allLinearIncreaseAndDeclineinstances.- Generated class or method.
-
absoluteSinItemProvider
This keeps track of the one adapter used for allAbsoluteSininstances.- Generated class or method.
-
linearTrendItemProvider
This keeps track of the one adapter used for allLinearTrendinstances.- Generated class or method.
-
exponentialTrendItemProvider
This keeps track of the one adapter used for allExponentialTrendinstances.- Generated class or method.
-
logarithmicTrendItemProvider
This keeps track of the one adapter used for allLogarithmicTrendinstances.- Generated class or method.
-
sinTrendItemProvider
This keeps track of the one adapter used for allSinTrendinstances.- Generated class or method.
-
referenceClockObjectItemProvider
This keeps track of the one adapter used for allReferenceClockObjectinstances.- Generated class or method.
-
arrivalRatesFromFileItemProvider
This keeps track of the one adapter used for allArrivalRatesFromFileinstances.- Generated class or method.
-
absoluteValueFunctionItemProvider
This keeps track of the one adapter used for allAbsoluteValueFunctioninstances.- Generated class or method.
-
polynomialItemProvider
This keeps track of the one adapter used for allPolynomialinstances.- Generated class or method.
-
polynomialFactorItemProvider
This keeps track of the one adapter used for allPolynomialFactorinstances.- Generated class or method.
-
-
Constructor Details
-
DlimItemProviderAdapterFactory
public DlimItemProviderAdapterFactory()This constructs an instance.- Generated class or method.
-
-
Method Details
-
createSequenceAdapter
This creates an adapter for aSequence.- Overrides:
createSequenceAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createCombinatorAdapter
This creates an adapter for aCombinator.- Overrides:
createCombinatorAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createTimeDependentFunctionContainerAdapter
This creates an adapter for aTimeDependentFunctionContainer.- Overrides:
createTimeDependentFunctionContainerAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createUniformNoiseAdapter
This creates an adapter for aUniformNoise.- Overrides:
createUniformNoiseAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNormalNoiseAdapter
This creates an adapter for aNormalNoise.- Overrides:
createNormalNoiseAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createConstantAdapter
This creates an adapter for aConstant.- Overrides:
createConstantAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSinAdapter
This creates an adapter for aSin.- Overrides:
createSinAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExponentialIncreaseAndDeclineAdapter
This creates an adapter for aExponentialIncreaseAndDecline.- Overrides:
createExponentialIncreaseAndDeclineAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExponentialIncreaseLogarithmicDeclineAdapter
This creates an adapter for aExponentialIncreaseLogarithmicDecline.- Overrides:
createExponentialIncreaseLogarithmicDeclineAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLinearIncreaseAndDeclineAdapter
This creates an adapter for aLinearIncreaseAndDecline.- Overrides:
createLinearIncreaseAndDeclineAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAbsoluteSinAdapter
This creates an adapter for aAbsoluteSin.- Overrides:
createAbsoluteSinAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLinearTrendAdapter
This creates an adapter for aLinearTrend.- Overrides:
createLinearTrendAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExponentialTrendAdapter
This creates an adapter for aExponentialTrend.- Overrides:
createExponentialTrendAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLogarithmicTrendAdapter
This creates an adapter for aLogarithmicTrend.- Overrides:
createLogarithmicTrendAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSinTrendAdapter
This creates an adapter for aSinTrend.- Overrides:
createSinTrendAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createReferenceClockObjectAdapter
This creates an adapter for aReferenceClockObject.- Overrides:
createReferenceClockObjectAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createArrivalRatesFromFileAdapter
This creates an adapter for aArrivalRatesFromFile.- Overrides:
createArrivalRatesFromFileAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAbsoluteValueFunctionAdapter
This creates an adapter for aAbsoluteValueFunction.- Overrides:
createAbsoluteValueFunctionAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPolynomialAdapter
This creates an adapter for aPolynomial.- Overrides:
createPolynomialAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPolynomialFactorAdapter
This creates an adapter for aPolynomialFactor.- Overrides:
createPolynomialFactorAdapterin classDlimAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
getRootAdapterFactory
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactoryin interfaceComposeableAdapterFactory- Generated class or method.
-
setParentAdapterFactory
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactoryin interfaceComposeableAdapterFactory- Generated class or method.
-
isFactoryForType
- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein classDlimAdapterFactory- Returns:
- whether this factory is applicable for the type of the object.
- Generated class or method.
-
adapt
This implementation substitutes the factory itself as the key for the adapter.- Specified by:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated class or method.
-
adapt
- Specified by:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated class or method.
-
addListener
This adds a listener.- Specified by:
addListenerin interfaceIChangeNotifier- Generated class or method.
-
removeListener
This removes a listener.- Specified by:
removeListenerin interfaceIChangeNotifier- Generated class or method.
-
fireNotifyChanged
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.
-