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
Modifier and TypeFieldDescriptionprotected BooleanOperatorExpressionItemProvider
This keeps track of the one adapter used for allBooleanOperatorExpression
instances.protected BoolLiteralItemProvider
This keeps track of the one adapter used for allBoolLiteral
instances.protected IChangeNotifier
This is used to implementIChangeNotifier
.protected CompareExpressionItemProvider
This keeps track of the one adapter used for allCompareExpression
instances.static final String
protected DoubleLiteralItemProvider
This keeps track of the one adapter used for allDoubleLiteral
instances.protected FunctionLiteralItemProvider
This keeps track of the one adapter used for allFunctionLiteral
instances.protected IfElseExpressionItemProvider
This keeps track of the one adapter used for allIfElseExpression
instances.protected IntLiteralItemProvider
This keeps track of the one adapter used for allIntLiteral
instances.protected NamespaceReferenceItemProvider
This keeps track of the one adapter used for allNamespaceReference
instances.protected NegativeExpressionItemProvider
This keeps track of the one adapter used for allNegativeExpression
instances.protected NotExpressionItemProvider
This keeps track of the one adapter used for allNotExpression
instances.protected ComposedAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected ParenthesisItemProvider
This keeps track of the one adapter used for allParenthesis
instances.protected PowerExpressionItemProvider
This keeps track of the one adapter used for allPowerExpression
instances.protected ProbabilityFunctionLiteralItemProvider
This keeps track of the one adapter used for allProbabilityFunctionLiteral
instances.protected ProductExpressionItemProvider
This keeps track of the one adapter used for allProductExpression
instances.protected RandomVariableItemProvider
This keeps track of the one adapter used for allRandomVariable
instances.protected StringLiteralItemProvider
This keeps track of the one adapter used for allStringLiteral
instances.protected Collection<Object>
This keeps track of all the supported types checked byisFactoryForType
.protected TermExpressionItemProvider
This keeps track of the one adapter used for allTermExpression
instances.protected VariableItemProvider
This keeps track of the one adapter used for allVariable
instances.protected VariableReferenceItemProvider
This keeps track of the one adapter used for allVariableReference
instances.Fields inherited from class de.uka.ipd.sdq.stoex.util.StoexAdapterFactory
modelPackage, modelSwitch
-
Constructor Summary
-
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 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
.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 de.uka.ipd.sdq.stoex.util.StoexAdapterFactory
createAbstractNamedReferenceAdapter, createAdapter, createAtomAdapter, createBooleanExpressionAdapter, createComparisonAdapter, createEObjectAdapter, createExpressionAdapter, createIfElseAdapter, createNumericLiteralAdapter, createPowerAdapter, createProductAdapter, createTermAdapter, createUnaryAdapter, 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 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 allVariableReference
instances.- Generated class or method.
-
namespaceReferenceItemProvider
This keeps track of the one adapter used for allNamespaceReference
instances.- Generated class or method.
-
variableItemProvider
This keeps track of the one adapter used for allVariable
instances.- Generated class or method.
-
termExpressionItemProvider
This keeps track of the one adapter used for allTermExpression
instances.- Generated class or method.
-
productExpressionItemProvider
This keeps track of the one adapter used for allProductExpression
instances.- Generated class or method.
-
probabilityFunctionLiteralItemProvider
This keeps track of the one adapter used for allProbabilityFunctionLiteral
instances.- Generated class or method.
-
parenthesisItemProvider
This keeps track of the one adapter used for allParenthesis
instances.- Generated class or method.
-
intLiteralItemProvider
This keeps track of the one adapter used for allIntLiteral
instances.- Generated class or method.
-
doubleLiteralItemProvider
This keeps track of the one adapter used for allDoubleLiteral
instances.- Generated class or method.
-
compareExpressionItemProvider
This keeps track of the one adapter used for allCompareExpression
instances.- Generated class or method.
-
boolLiteralItemProvider
This keeps track of the one adapter used for allBoolLiteral
instances.- Generated class or method.
-
stringLiteralItemProvider
This keeps track of the one adapter used for allStringLiteral
instances.- Generated class or method.
-
powerExpressionItemProvider
This keeps track of the one adapter used for allPowerExpression
instances.- Generated class or method.
-
booleanOperatorExpressionItemProvider
This keeps track of the one adapter used for allBooleanOperatorExpression
instances.- Generated class or method.
-
notExpressionItemProvider
This keeps track of the one adapter used for allNotExpression
instances.- Generated class or method.
-
negativeExpressionItemProvider
This keeps track of the one adapter used for allNegativeExpression
instances.- Generated class or method.
-
functionLiteralItemProvider
This keeps track of the one adapter used for allFunctionLiteral
instances.- Generated class or method.
-
ifElseExpressionItemProvider
This keeps track of the one adapter used for allIfElseExpression
instances.- Generated class or method.
-
randomVariableItemProvider
This keeps track of the one adapter used for allRandomVariable
instances.- 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:
createVariableReferenceAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNamespaceReferenceAdapter
This creates an adapter for aNamespaceReference
.- Overrides:
createNamespaceReferenceAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createVariableAdapter
This creates an adapter for aVariable
.- Overrides:
createVariableAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createTermExpressionAdapter
This creates an adapter for aTermExpression
.- Overrides:
createTermExpressionAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createProductExpressionAdapter
This creates an adapter for aProductExpression
.- Overrides:
createProductExpressionAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createProbabilityFunctionLiteralAdapter
This creates an adapter for aProbabilityFunctionLiteral
.- Overrides:
createProbabilityFunctionLiteralAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createParenthesisAdapter
This creates an adapter for aParenthesis
.- Overrides:
createParenthesisAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createIntLiteralAdapter
This creates an adapter for aIntLiteral
.- Overrides:
createIntLiteralAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDoubleLiteralAdapter
This creates an adapter for aDoubleLiteral
.- Overrides:
createDoubleLiteralAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createCompareExpressionAdapter
This creates an adapter for aCompareExpression
.- Overrides:
createCompareExpressionAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBoolLiteralAdapter
This creates an adapter for aBoolLiteral
.- Overrides:
createBoolLiteralAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createStringLiteralAdapter
This creates an adapter for aStringLiteral
.- Overrides:
createStringLiteralAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPowerExpressionAdapter
This creates an adapter for aPowerExpression
.- Overrides:
createPowerExpressionAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBooleanOperatorExpressionAdapter
This creates an adapter for aBooleanOperatorExpression
.- Overrides:
createBooleanOperatorExpressionAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNotExpressionAdapter
This creates an adapter for aNotExpression
.- Overrides:
createNotExpressionAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNegativeExpressionAdapter
This creates an adapter for aNegativeExpression
.- Overrides:
createNegativeExpressionAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createFunctionLiteralAdapter
This creates an adapter for aFunctionLiteral
.- Overrides:
createFunctionLiteralAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createIfElseExpressionAdapter
This creates an adapter for aIfElseExpression
.- Overrides:
createIfElseExpressionAdapter
in classStoexAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createRandomVariableAdapter
This creates an adapter for aRandomVariable
.- Overrides:
createRandomVariableAdapter
in classStoexAdapterFactory
- 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 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:
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.
-