Package de.uka.ipd.sdq.stoex.provider
Class StoexItemProviderAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
de.uka.ipd.sdq.stoex.util.StoexAdapterFactory
de.uka.ipd.sdq.stoex.provider.StoexItemProviderAdapterFactory
- All Implemented Interfaces:
AdapterFactory,ComposeableAdapterFactory,IChangeNotifier,IDisposable
public class StoexItemProviderAdapterFactory
extends StoexAdapterFactory
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 BooleanOperatorExpressionItemProviderThis keeps track of the one adapter used for allBooleanOperatorExpressioninstances.protected BoolLiteralItemProviderThis keeps track of the one adapter used for allBoolLiteralinstances.protected IChangeNotifierThis is used to implementIChangeNotifier.protected CompareExpressionItemProviderThis keeps track of the one adapter used for allCompareExpressioninstances.static final Stringprotected DoubleLiteralItemProviderThis keeps track of the one adapter used for allDoubleLiteralinstances.protected FunctionLiteralItemProviderThis keeps track of the one adapter used for allFunctionLiteralinstances.protected IfElseExpressionItemProviderThis keeps track of the one adapter used for allIfElseExpressioninstances.protected IntLiteralItemProviderThis keeps track of the one adapter used for allIntLiteralinstances.protected NamespaceReferenceItemProviderThis keeps track of the one adapter used for allNamespaceReferenceinstances.protected NegativeExpressionItemProviderThis keeps track of the one adapter used for allNegativeExpressioninstances.protected NotExpressionItemProviderThis keeps track of the one adapter used for allNotExpressioninstances.protected ComposedAdapterFactoryThis keeps track of the root adapter factory that delegates to this adapter factory.protected ParenthesisItemProviderThis keeps track of the one adapter used for allParenthesisinstances.protected PowerExpressionItemProviderThis keeps track of the one adapter used for allPowerExpressioninstances.protected ProbabilityFunctionLiteralItemProviderThis keeps track of the one adapter used for allProbabilityFunctionLiteralinstances.protected ProductExpressionItemProviderThis keeps track of the one adapter used for allProductExpressioninstances.protected RandomVariableItemProviderThis keeps track of the one adapter used for allRandomVariableinstances.protected StringLiteralItemProviderThis keeps track of the one adapter used for allStringLiteralinstances.protected Collection<Object>This keeps track of all the supported types checked byisFactoryForType.protected TermExpressionItemProviderThis keeps track of the one adapter used for allTermExpressioninstances.protected VariableItemProviderThis keeps track of the one adapter used for allVariableinstances.protected VariableReferenceItemProviderThis keeps track of the one adapter used for allVariableReferenceinstances.Fields inherited from class de.uka.ipd.sdq.stoex.util.StoexAdapterFactory
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 aBooleanOperatorExpression.This creates an adapter for aBoolLiteral.This creates an adapter for aCompareExpression.This creates an adapter for aDoubleLiteral.This creates an adapter for aFunctionLiteral.This creates an adapter for aIfElseExpression.This creates an adapter for aIntLiteral.This creates an adapter for aNamespaceReference.This creates an adapter for aNegativeExpression.This creates an adapter for aNotExpression.This creates an adapter for aParenthesis.This creates an adapter for aPowerExpression.This creates an adapter for aProbabilityFunctionLiteral.This creates an adapter for aProductExpression.This creates an adapter for aRandomVariable.This creates an adapter for aStringLiteral.This creates an adapter for aTermExpression.This creates an adapter for aVariable.This creates an adapter for aVariableReference.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 de.uka.ipd.sdq.stoex.util.StoexAdapterFactory
createAbstractNamedReferenceAdapter, createAdapter, createAtomAdapter, createBooleanExpressionAdapter, createComparisonAdapter, createEObjectAdapter, createExpressionAdapter, createIfElseAdapter, createNumericLiteralAdapter, createPowerAdapter, createProductAdapter, createTermAdapter, createUnaryAdapter, createUnitCarryingElementAdapterMethods 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
-
copyright
- See Also:
- Generated class or method.
-
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.
-
variableReferenceItemProvider
This keeps track of the one adapter used for allVariableReferenceinstances.- Generated class or method.
-
namespaceReferenceItemProvider
This keeps track of the one adapter used for allNamespaceReferenceinstances.- Generated class or method.
-
variableItemProvider
This keeps track of the one adapter used for allVariableinstances.- Generated class or method.
-
termExpressionItemProvider
This keeps track of the one adapter used for allTermExpressioninstances.- Generated class or method.
-
productExpressionItemProvider
This keeps track of the one adapter used for allProductExpressioninstances.- Generated class or method.
-
probabilityFunctionLiteralItemProvider
This keeps track of the one adapter used for allProbabilityFunctionLiteralinstances.- Generated class or method.
-
parenthesisItemProvider
This keeps track of the one adapter used for allParenthesisinstances.- Generated class or method.
-
intLiteralItemProvider
This keeps track of the one adapter used for allIntLiteralinstances.- Generated class or method.
-
doubleLiteralItemProvider
This keeps track of the one adapter used for allDoubleLiteralinstances.- Generated class or method.
-
compareExpressionItemProvider
This keeps track of the one adapter used for allCompareExpressioninstances.- Generated class or method.
-
boolLiteralItemProvider
This keeps track of the one adapter used for allBoolLiteralinstances.- Generated class or method.
-
stringLiteralItemProvider
This keeps track of the one adapter used for allStringLiteralinstances.- Generated class or method.
-
powerExpressionItemProvider
This keeps track of the one adapter used for allPowerExpressioninstances.- Generated class or method.
-
booleanOperatorExpressionItemProvider
This keeps track of the one adapter used for allBooleanOperatorExpressioninstances.- Generated class or method.
-
notExpressionItemProvider
This keeps track of the one adapter used for allNotExpressioninstances.- Generated class or method.
-
negativeExpressionItemProvider
This keeps track of the one adapter used for allNegativeExpressioninstances.- Generated class or method.
-
functionLiteralItemProvider
This keeps track of the one adapter used for allFunctionLiteralinstances.- Generated class or method.
-
ifElseExpressionItemProvider
This keeps track of the one adapter used for allIfElseExpressioninstances.- Generated class or method.
-
randomVariableItemProvider
This keeps track of the one adapter used for allRandomVariableinstances.- Generated class or method.
-
-
Constructor Details
-
StoexItemProviderAdapterFactory
public StoexItemProviderAdapterFactory()This constructs an instance.- Generated class or method.
-
-
Method Details
-
createVariableReferenceAdapter
This creates an adapter for aVariableReference.- Overrides:
createVariableReferenceAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNamespaceReferenceAdapter
This creates an adapter for aNamespaceReference.- Overrides:
createNamespaceReferenceAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createVariableAdapter
This creates an adapter for aVariable.- Overrides:
createVariableAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createTermExpressionAdapter
This creates an adapter for aTermExpression.- Overrides:
createTermExpressionAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createProductExpressionAdapter
This creates an adapter for aProductExpression.- Overrides:
createProductExpressionAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createProbabilityFunctionLiteralAdapter
This creates an adapter for aProbabilityFunctionLiteral.- Overrides:
createProbabilityFunctionLiteralAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createParenthesisAdapter
This creates an adapter for aParenthesis.- Overrides:
createParenthesisAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createIntLiteralAdapter
This creates an adapter for aIntLiteral.- Overrides:
createIntLiteralAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDoubleLiteralAdapter
This creates an adapter for aDoubleLiteral.- Overrides:
createDoubleLiteralAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createCompareExpressionAdapter
This creates an adapter for aCompareExpression.- Overrides:
createCompareExpressionAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBoolLiteralAdapter
This creates an adapter for aBoolLiteral.- Overrides:
createBoolLiteralAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createStringLiteralAdapter
This creates an adapter for aStringLiteral.- Overrides:
createStringLiteralAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPowerExpressionAdapter
This creates an adapter for aPowerExpression.- Overrides:
createPowerExpressionAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBooleanOperatorExpressionAdapter
This creates an adapter for aBooleanOperatorExpression.- Overrides:
createBooleanOperatorExpressionAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNotExpressionAdapter
This creates an adapter for aNotExpression.- Overrides:
createNotExpressionAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNegativeExpressionAdapter
This creates an adapter for aNegativeExpression.- Overrides:
createNegativeExpressionAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createFunctionLiteralAdapter
This creates an adapter for aFunctionLiteral.- Overrides:
createFunctionLiteralAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createIfElseExpressionAdapter
This creates an adapter for aIfElseExpression.- Overrides:
createIfElseExpressionAdapterin classStoexAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createRandomVariableAdapter
This creates an adapter for aRandomVariable.- Overrides:
createRandomVariableAdapterin classStoexAdapterFactory- 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 classStoexAdapterFactory- 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.
-