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 AbsoluteSinItemProvider
This keeps track of the one adapter used for allAbsoluteSin
instances.protected AbsoluteValueFunctionItemProvider
This keeps track of the one adapter used for allAbsoluteValueFunction
instances.protected ArrivalRatesFromFileItemProvider
This keeps track of the one adapter used for allArrivalRatesFromFile
instances.protected IChangeNotifier
This is used to implementIChangeNotifier
.protected CombinatorItemProvider
This keeps track of the one adapter used for allCombinator
instances.protected ConstantItemProvider
This keeps track of the one adapter used for allConstant
instances.This keeps track of the one adapter used for allExponentialIncreaseAndDecline
instances.This keeps track of the one adapter used for allExponentialIncreaseLogarithmicDecline
instances.protected ExponentialTrendItemProvider
This keeps track of the one adapter used for allExponentialTrend
instances.protected LinearIncreaseAndDeclineItemProvider
This keeps track of the one adapter used for allLinearIncreaseAndDecline
instances.protected LinearTrendItemProvider
This keeps track of the one adapter used for allLinearTrend
instances.protected LogarithmicTrendItemProvider
This keeps track of the one adapter used for allLogarithmicTrend
instances.protected NormalNoiseItemProvider
This keeps track of the one adapter used for allNormalNoise
instances.protected ComposedAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected PolynomialFactorItemProvider
This keeps track of the one adapter used for allPolynomialFactor
instances.protected PolynomialItemProvider
This keeps track of the one adapter used for allPolynomial
instances.protected ReferenceClockObjectItemProvider
This keeps track of the one adapter used for allReferenceClockObject
instances.protected SequenceItemProvider
This keeps track of the one adapter used for allSequence
instances.protected SinItemProvider
This keeps track of the one adapter used for allSin
instances.protected SinTrendItemProvider
This keeps track of the one adapter used for allSinTrend
instances.protected Collection<Object>
This keeps track of all the supported types checked byisFactoryForType
.This keeps track of the one adapter used for allTimeDependentFunctionContainer
instances.protected UniformNoiseItemProvider
This keeps track of the one adapter used for allUniformNoise
instances.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.void
addListener
(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
.void
dispose()
This disposes all of the item providers created by this factory.void
fireNotifyChanged
(Notification notification) This delegates tochangeNotifier
and toparentAdapterFactory
.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 tools.descartes.dlim.util.DlimAdapterFactory
createAdapter, createBurstAdapter, createEObjectAdapter, createFunctionAdapter, createNoiseAdapter, createSeasonalAdapter, createTrendAdapter, createUnivariateFunctionAdapter
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 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 allSequence
instances.- Generated class or method.
-
combinatorItemProvider
This keeps track of the one adapter used for allCombinator
instances.- Generated class or method.
-
timeDependentFunctionContainerItemProvider
This keeps track of the one adapter used for allTimeDependentFunctionContainer
instances.- Generated class or method.
-
uniformNoiseItemProvider
This keeps track of the one adapter used for allUniformNoise
instances.- Generated class or method.
-
normalNoiseItemProvider
This keeps track of the one adapter used for allNormalNoise
instances.- Generated class or method.
-
constantItemProvider
This keeps track of the one adapter used for allConstant
instances.- Generated class or method.
-
sinItemProvider
This keeps track of the one adapter used for allSin
instances.- Generated class or method.
-
exponentialIncreaseAndDeclineItemProvider
This keeps track of the one adapter used for allExponentialIncreaseAndDecline
instances.- Generated class or method.
-
exponentialIncreaseLogarithmicDeclineItemProvider
protected ExponentialIncreaseLogarithmicDeclineItemProvider exponentialIncreaseLogarithmicDeclineItemProviderThis keeps track of the one adapter used for allExponentialIncreaseLogarithmicDecline
instances.- Generated class or method.
-
linearIncreaseAndDeclineItemProvider
This keeps track of the one adapter used for allLinearIncreaseAndDecline
instances.- Generated class or method.
-
absoluteSinItemProvider
This keeps track of the one adapter used for allAbsoluteSin
instances.- Generated class or method.
-
linearTrendItemProvider
This keeps track of the one adapter used for allLinearTrend
instances.- Generated class or method.
-
exponentialTrendItemProvider
This keeps track of the one adapter used for allExponentialTrend
instances.- Generated class or method.
-
logarithmicTrendItemProvider
This keeps track of the one adapter used for allLogarithmicTrend
instances.- Generated class or method.
-
sinTrendItemProvider
This keeps track of the one adapter used for allSinTrend
instances.- Generated class or method.
-
referenceClockObjectItemProvider
This keeps track of the one adapter used for allReferenceClockObject
instances.- Generated class or method.
-
arrivalRatesFromFileItemProvider
This keeps track of the one adapter used for allArrivalRatesFromFile
instances.- Generated class or method.
-
absoluteValueFunctionItemProvider
This keeps track of the one adapter used for allAbsoluteValueFunction
instances.- Generated class or method.
-
polynomialItemProvider
This keeps track of the one adapter used for allPolynomial
instances.- Generated class or method.
-
polynomialFactorItemProvider
This keeps track of the one adapter used for allPolynomialFactor
instances.- 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:
createSequenceAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createCombinatorAdapter
This creates an adapter for aCombinator
.- Overrides:
createCombinatorAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createTimeDependentFunctionContainerAdapter
This creates an adapter for aTimeDependentFunctionContainer
.- Overrides:
createTimeDependentFunctionContainerAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createUniformNoiseAdapter
This creates an adapter for aUniformNoise
.- Overrides:
createUniformNoiseAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNormalNoiseAdapter
This creates an adapter for aNormalNoise
.- Overrides:
createNormalNoiseAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createConstantAdapter
This creates an adapter for aConstant
.- Overrides:
createConstantAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSinAdapter
This creates an adapter for aSin
.- Overrides:
createSinAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExponentialIncreaseAndDeclineAdapter
This creates an adapter for aExponentialIncreaseAndDecline
.- Overrides:
createExponentialIncreaseAndDeclineAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExponentialIncreaseLogarithmicDeclineAdapter
This creates an adapter for aExponentialIncreaseLogarithmicDecline
.- Overrides:
createExponentialIncreaseLogarithmicDeclineAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLinearIncreaseAndDeclineAdapter
This creates an adapter for aLinearIncreaseAndDecline
.- Overrides:
createLinearIncreaseAndDeclineAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAbsoluteSinAdapter
This creates an adapter for aAbsoluteSin
.- Overrides:
createAbsoluteSinAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLinearTrendAdapter
This creates an adapter for aLinearTrend
.- Overrides:
createLinearTrendAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createExponentialTrendAdapter
This creates an adapter for aExponentialTrend
.- Overrides:
createExponentialTrendAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLogarithmicTrendAdapter
This creates an adapter for aLogarithmicTrend
.- Overrides:
createLogarithmicTrendAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSinTrendAdapter
This creates an adapter for aSinTrend
.- Overrides:
createSinTrendAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createReferenceClockObjectAdapter
This creates an adapter for aReferenceClockObject
.- Overrides:
createReferenceClockObjectAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createArrivalRatesFromFileAdapter
This creates an adapter for aArrivalRatesFromFile
.- Overrides:
createArrivalRatesFromFileAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAbsoluteValueFunctionAdapter
This creates an adapter for aAbsoluteValueFunction
.- Overrides:
createAbsoluteValueFunctionAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPolynomialAdapter
This creates an adapter for aPolynomial
.- Overrides:
createPolynomialAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPolynomialFactorAdapter
This creates an adapter for aPolynomialFactor
.- Overrides:
createPolynomialFactorAdapter
in classDlimAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
getRootAdapterFactory
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
setParentAdapterFactory
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
isFactoryForType
- Specified by:
isFactoryForType
in interfaceAdapterFactory
- Overrides:
isFactoryForType
in 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:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated class or method.
-
adapt
- Specified by:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated class or method.
-
addListener
This adds a listener.- Specified by:
addListener
in interfaceIChangeNotifier
- Generated class or method.
-
removeListener
This removes a listener.- Specified by:
removeListener
in interfaceIChangeNotifier
- Generated class or method.
-
fireNotifyChanged
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.
-