org.eclipse.ocl.expressions.provider
Class ExpressionsItemProviderAdapterFactory

java.lang.Object
  extended by AdapterFactoryImpl
      extended by org.eclipse.ocl.expressions.util.ExpressionsAdapterFactory
          extended by org.eclipse.ocl.expressions.provider.ExpressionsItemProviderAdapterFactory

public class ExpressionsItemProviderAdapterFactory
extends ExpressionsAdapterFactory

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.


Field Summary
protected  AssociationClassCallExpItemProvider associationClassCallExpItemProvider
          This keeps track of the one adapter used for all AssociationClassCallExp instances
protected  BooleanLiteralExpItemProvider booleanLiteralExpItemProvider
          This keeps track of the one adapter used for all BooleanLiteralExp instances
protected  IChangeNotifier changeNotifier
          This is used to implement org.eclipse.emf.edit.provider.IChangeNotifier
protected  CollectionItemItemProvider collectionItemItemProvider
          This keeps track of the one adapter used for all CollectionItem instances
protected  CollectionLiteralExpItemProvider collectionLiteralExpItemProvider
          This keeps track of the one adapter used for all CollectionLiteralExp instances
protected  CollectionRangeItemProvider collectionRangeItemProvider
          This keeps track of the one adapter used for all CollectionRange instances
protected  EnumLiteralExpItemProvider enumLiteralExpItemProvider
          This keeps track of the one adapter used for all EnumLiteralExp instances
protected  IfExpItemProvider ifExpItemProvider
          This keeps track of the one adapter used for all IfExp instances
protected  IntegerLiteralExpItemProvider integerLiteralExpItemProvider
          This keeps track of the one adapter used for all IntegerLiteralExp instances
protected  InvalidLiteralExpItemProvider invalidLiteralExpItemProvider
          This keeps track of the one adapter used for all InvalidLiteralExp instances
protected  IterateExpItemProvider iterateExpItemProvider
          This keeps track of the one adapter used for all IterateExp instances
protected  IteratorExpItemProvider iteratorExpItemProvider
          This keeps track of the one adapter used for all IteratorExp instances
protected  LetExpItemProvider letExpItemProvider
          This keeps track of the one adapter used for all LetExp instances
protected  MessageExpItemProvider messageExpItemProvider
          This keeps track of the one adapter used for all MessageExp instances
protected  NullLiteralExpItemProvider nullLiteralExpItemProvider
          This keeps track of the one adapter used for all NullLiteralExp instances
protected  OperationCallExpItemProvider operationCallExpItemProvider
          This keeps track of the one adapter used for all OperationCallExp instances
protected  ComposedAdapterFactory parentAdapterFactory
          This keeps track of the root adapter factory that delegates to this adapter factory
protected  PropertyCallExpItemProvider propertyCallExpItemProvider
          This keeps track of the one adapter used for all PropertyCallExp instances
protected  RealLiteralExpItemProvider realLiteralExpItemProvider
          This keeps track of the one adapter used for all RealLiteralExp instances
protected  StateExpItemProvider stateExpItemProvider
          This keeps track of the one adapter used for all StateExp instances
protected  StringLiteralExpItemProvider stringLiteralExpItemProvider
          This keeps track of the one adapter used for all StringLiteralExp instances
protected  java.util.Collection<java.lang.Object> supportedTypes
          This keeps track of all the supported types checked by isFactoryForType
protected  TupleLiteralExpItemProvider tupleLiteralExpItemProvider
          This keeps track of the one adapter used for all TupleLiteralExp instances
protected  TupleLiteralPartItemProvider tupleLiteralPartItemProvider
          This keeps track of the one adapter used for all TupleLiteralPart instances
protected  TypeExpItemProvider typeExpItemProvider
          This keeps track of the one adapter used for all TypeExp instances
protected  UnlimitedNaturalLiteralExpItemProvider unlimitedNaturalLiteralExpItemProvider
          This keeps track of the one adapter used for all UnlimitedNaturalLiteralExp instances
protected  UnspecifiedValueExpItemProvider unspecifiedValueExpItemProvider
          This keeps track of the one adapter used for all UnspecifiedValueExp instances
protected  VariableExpItemProvider variableExpItemProvider
          This keeps track of the one adapter used for all VariableExp instances
protected  VariableItemProvider variableItemProvider
          This keeps track of the one adapter used for all Variable instances
 
Fields inherited from class org.eclipse.ocl.expressions.util.ExpressionsAdapterFactory
modelPackage, modelSwitch
 
Constructor Summary
ExpressionsItemProviderAdapterFactory()
          This constructs an instance
 
Method Summary
 Adapter adapt(Notifier notifier, java.lang.Object type)
          This implementation substitutes the factory itself as the key for the adapter
 void addListener(INotifyChangedListener notifyChangedListener)
          This adds a listener
 Adapter createAssociationClassCallExpAdapter()
          This creates an adapter for a AssociationClassCallExp
 Adapter createBooleanLiteralExpAdapter()
          This creates an adapter for a BooleanLiteralExp
 Adapter createCollectionItemAdapter()
          This creates an adapter for a CollectionItem
 Adapter createCollectionLiteralExpAdapter()
          This creates an adapter for a CollectionLiteralExp
 Adapter createCollectionRangeAdapter()
          This creates an adapter for a CollectionRange
 Adapter createEnumLiteralExpAdapter()
          This creates an adapter for a EnumLiteralExp
 Adapter createIfExpAdapter()
          This creates an adapter for a IfExp
 Adapter createIntegerLiteralExpAdapter()
          This creates an adapter for a IntegerLiteralExp
 Adapter createInvalidLiteralExpAdapter()
          This creates an adapter for a InvalidLiteralExp
 Adapter createIterateExpAdapter()
          This creates an adapter for a IterateExp
 Adapter createIteratorExpAdapter()
          This creates an adapter for a IteratorExp
 Adapter createLetExpAdapter()
          This creates an adapter for a LetExp
 Adapter createMessageExpAdapter()
          This creates an adapter for a MessageExp
 Adapter createNullLiteralExpAdapter()
          This creates an adapter for a NullLiteralExp
 Adapter createOperationCallExpAdapter()
          This creates an adapter for a OperationCallExp
 Adapter createPropertyCallExpAdapter()
          This creates an adapter for a PropertyCallExp
 Adapter createRealLiteralExpAdapter()
          This creates an adapter for a RealLiteralExp
 Adapter createStateExpAdapter()
          This creates an adapter for a StateExp
 Adapter createStringLiteralExpAdapter()
          This creates an adapter for a StringLiteralExp
 Adapter createTupleLiteralExpAdapter()
          This creates an adapter for a TupleLiteralExp
 Adapter createTupleLiteralPartAdapter()
          This creates an adapter for a TupleLiteralPart
 Adapter createTypeExpAdapter()
          This creates an adapter for a TypeExp
 Adapter createUnlimitedNaturalLiteralExpAdapter()
          This creates an adapter for a UnlimitedNaturalLiteralExp
 Adapter createUnspecifiedValueExpAdapter()
          This creates an adapter for a UnspecifiedValueExp
 Adapter createVariableAdapter()
          This creates an adapter for a Variable
 Adapter createVariableExpAdapter()
          This creates an adapter for a VariableExp
 void dispose()
          This disposes all of the item providers created by this factory
 void fireNotifyChanged(Notification notification)
          This delegates to changeNotifier and to parentAdapterFactory
 ComposeableAdapterFactory getRootAdapterFactory()
          This returns the root adapter factory that contains this factory
 boolean isFactoryForType(java.lang.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 org.eclipse.ocl.expressions.util.ExpressionsAdapterFactory
createAdapter, createASTNodeAdapter, createCallExpAdapter, createCallingASTNodeAdapter, createCollectionLiteralPartAdapter, createEObjectAdapter, createFeatureCallExpAdapter, createLiteralExpAdapter, createLoopExpAdapter, createNavigationCallExpAdapter, createNumericLiteralExpAdapter, createOCLExpressionAdapter, createPrimitiveLiteralExpAdapter, createTypedASTNodeAdapter, createTypedElementAdapter, createVisitableAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parentAdapterFactory

protected ComposedAdapterFactory parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.


changeNotifier

protected IChangeNotifier changeNotifier
This is used to implement org.eclipse.emf.edit.provider.IChangeNotifier.


supportedTypes

protected java.util.Collection<java.lang.Object> supportedTypes
This keeps track of all the supported types checked by isFactoryForType.


associationClassCallExpItemProvider

protected AssociationClassCallExpItemProvider associationClassCallExpItemProvider
This keeps track of the one adapter used for all AssociationClassCallExp instances.


booleanLiteralExpItemProvider

protected BooleanLiteralExpItemProvider booleanLiteralExpItemProvider
This keeps track of the one adapter used for all BooleanLiteralExp instances.


collectionItemItemProvider

protected CollectionItemItemProvider collectionItemItemProvider
This keeps track of the one adapter used for all CollectionItem instances.


collectionLiteralExpItemProvider

protected CollectionLiteralExpItemProvider collectionLiteralExpItemProvider
This keeps track of the one adapter used for all CollectionLiteralExp instances.


collectionRangeItemProvider

protected CollectionRangeItemProvider collectionRangeItemProvider
This keeps track of the one adapter used for all CollectionRange instances.


enumLiteralExpItemProvider

protected EnumLiteralExpItemProvider enumLiteralExpItemProvider
This keeps track of the one adapter used for all EnumLiteralExp instances.


ifExpItemProvider

protected IfExpItemProvider ifExpItemProvider
This keeps track of the one adapter used for all IfExp instances.


integerLiteralExpItemProvider

protected IntegerLiteralExpItemProvider integerLiteralExpItemProvider
This keeps track of the one adapter used for all IntegerLiteralExp instances.


unlimitedNaturalLiteralExpItemProvider

protected UnlimitedNaturalLiteralExpItemProvider unlimitedNaturalLiteralExpItemProvider
This keeps track of the one adapter used for all UnlimitedNaturalLiteralExp instances.


invalidLiteralExpItemProvider

protected InvalidLiteralExpItemProvider invalidLiteralExpItemProvider
This keeps track of the one adapter used for all InvalidLiteralExp instances.


iterateExpItemProvider

protected IterateExpItemProvider iterateExpItemProvider
This keeps track of the one adapter used for all IterateExp instances.


variableItemProvider

protected VariableItemProvider variableItemProvider
This keeps track of the one adapter used for all Variable instances.


iteratorExpItemProvider

protected IteratorExpItemProvider iteratorExpItemProvider
This keeps track of the one adapter used for all IteratorExp instances.


letExpItemProvider

protected LetExpItemProvider letExpItemProvider
This keeps track of the one adapter used for all LetExp instances.


messageExpItemProvider

protected MessageExpItemProvider messageExpItemProvider
This keeps track of the one adapter used for all MessageExp instances.


nullLiteralExpItemProvider

protected NullLiteralExpItemProvider nullLiteralExpItemProvider
This keeps track of the one adapter used for all NullLiteralExp instances.


operationCallExpItemProvider

protected OperationCallExpItemProvider operationCallExpItemProvider
This keeps track of the one adapter used for all OperationCallExp instances.


propertyCallExpItemProvider

protected PropertyCallExpItemProvider propertyCallExpItemProvider
This keeps track of the one adapter used for all PropertyCallExp instances.


realLiteralExpItemProvider

protected RealLiteralExpItemProvider realLiteralExpItemProvider
This keeps track of the one adapter used for all RealLiteralExp instances.


stateExpItemProvider

protected StateExpItemProvider stateExpItemProvider
This keeps track of the one adapter used for all StateExp instances.


stringLiteralExpItemProvider

protected StringLiteralExpItemProvider stringLiteralExpItemProvider
This keeps track of the one adapter used for all StringLiteralExp instances.


tupleLiteralExpItemProvider

protected TupleLiteralExpItemProvider tupleLiteralExpItemProvider
This keeps track of the one adapter used for all TupleLiteralExp instances.


tupleLiteralPartItemProvider

protected TupleLiteralPartItemProvider tupleLiteralPartItemProvider
This keeps track of the one adapter used for all TupleLiteralPart instances.


typeExpItemProvider

protected TypeExpItemProvider typeExpItemProvider
This keeps track of the one adapter used for all TypeExp instances.


unspecifiedValueExpItemProvider

protected UnspecifiedValueExpItemProvider unspecifiedValueExpItemProvider
This keeps track of the one adapter used for all UnspecifiedValueExp instances.


variableExpItemProvider

protected VariableExpItemProvider variableExpItemProvider
This keeps track of the one adapter used for all VariableExp instances.

Constructor Detail

ExpressionsItemProviderAdapterFactory

public ExpressionsItemProviderAdapterFactory()
This constructs an instance.

Method Detail

createAssociationClassCallExpAdapter

public Adapter createAssociationClassCallExpAdapter()
This creates an adapter for a AssociationClassCallExp.

Overrides:
createAssociationClassCallExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
AssociationClassCallExp

createBooleanLiteralExpAdapter

public Adapter createBooleanLiteralExpAdapter()
This creates an adapter for a BooleanLiteralExp.

Overrides:
createBooleanLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
BooleanLiteralExp

createCollectionItemAdapter

public Adapter createCollectionItemAdapter()
This creates an adapter for a CollectionItem.

Overrides:
createCollectionItemAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
CollectionItem

createCollectionLiteralExpAdapter

public Adapter createCollectionLiteralExpAdapter()
This creates an adapter for a CollectionLiteralExp.

Overrides:
createCollectionLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
CollectionLiteralExp

createCollectionRangeAdapter

public Adapter createCollectionRangeAdapter()
This creates an adapter for a CollectionRange.

Overrides:
createCollectionRangeAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
CollectionRange

createEnumLiteralExpAdapter

public Adapter createEnumLiteralExpAdapter()
This creates an adapter for a EnumLiteralExp.

Overrides:
createEnumLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
EnumLiteralExp

createIfExpAdapter

public Adapter createIfExpAdapter()
This creates an adapter for a IfExp.

Overrides:
createIfExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
IfExp

createIntegerLiteralExpAdapter

public Adapter createIntegerLiteralExpAdapter()
This creates an adapter for a IntegerLiteralExp.

Overrides:
createIntegerLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
IntegerLiteralExp

createUnlimitedNaturalLiteralExpAdapter

public Adapter createUnlimitedNaturalLiteralExpAdapter()
This creates an adapter for a UnlimitedNaturalLiteralExp.

Overrides:
createUnlimitedNaturalLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
UnlimitedNaturalLiteralExp

createInvalidLiteralExpAdapter

public Adapter createInvalidLiteralExpAdapter()
This creates an adapter for a InvalidLiteralExp.

Overrides:
createInvalidLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
InvalidLiteralExp

createIterateExpAdapter

public Adapter createIterateExpAdapter()
This creates an adapter for a IterateExp.

Overrides:
createIterateExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
IterateExp

createVariableAdapter

public Adapter createVariableAdapter()
This creates an adapter for a Variable.

Overrides:
createVariableAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
Variable

createIteratorExpAdapter

public Adapter createIteratorExpAdapter()
This creates an adapter for a IteratorExp.

Overrides:
createIteratorExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
IteratorExp

createLetExpAdapter

public Adapter createLetExpAdapter()
This creates an adapter for a LetExp.

Overrides:
createLetExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
LetExp

createMessageExpAdapter

public Adapter createMessageExpAdapter()
This creates an adapter for a MessageExp.

Overrides:
createMessageExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
MessageExp

createNullLiteralExpAdapter

public Adapter createNullLiteralExpAdapter()
This creates an adapter for a NullLiteralExp.

Overrides:
createNullLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
NullLiteralExp

createOperationCallExpAdapter

public Adapter createOperationCallExpAdapter()
This creates an adapter for a OperationCallExp.

Overrides:
createOperationCallExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
OperationCallExp

createPropertyCallExpAdapter

public Adapter createPropertyCallExpAdapter()
This creates an adapter for a PropertyCallExp.

Overrides:
createPropertyCallExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
PropertyCallExp

createRealLiteralExpAdapter

public Adapter createRealLiteralExpAdapter()
This creates an adapter for a RealLiteralExp.

Overrides:
createRealLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
RealLiteralExp

createStateExpAdapter

public Adapter createStateExpAdapter()
This creates an adapter for a StateExp.

Overrides:
createStateExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
StateExp

createStringLiteralExpAdapter

public Adapter createStringLiteralExpAdapter()
This creates an adapter for a StringLiteralExp.

Overrides:
createStringLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
StringLiteralExp

createTupleLiteralExpAdapter

public Adapter createTupleLiteralExpAdapter()
This creates an adapter for a TupleLiteralExp.

Overrides:
createTupleLiteralExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
TupleLiteralExp

createTupleLiteralPartAdapter

public Adapter createTupleLiteralPartAdapter()
This creates an adapter for a TupleLiteralPart.

Overrides:
createTupleLiteralPartAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
TupleLiteralPart

createTypeExpAdapter

public Adapter createTypeExpAdapter()
This creates an adapter for a TypeExp.

Overrides:
createTypeExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
TypeExp

createUnspecifiedValueExpAdapter

public Adapter createUnspecifiedValueExpAdapter()
This creates an adapter for a UnspecifiedValueExp.

Overrides:
createUnspecifiedValueExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
UnspecifiedValueExp

createVariableExpAdapter

public Adapter createVariableExpAdapter()
This creates an adapter for a VariableExp.

Overrides:
createVariableExpAdapter in class ExpressionsAdapterFactory
Returns:
the new adapter.
See Also:
VariableExp

getRootAdapterFactory

public ComposeableAdapterFactory getRootAdapterFactory()
This returns the root adapter factory that contains this factory.


setParentAdapterFactory

public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.


isFactoryForType

public boolean isFactoryForType(java.lang.Object type)

Overrides:
isFactoryForType in class ExpressionsAdapterFactory
Returns:
whether this factory is applicable for the type of the object.

adapt

public Adapter adapt(Notifier notifier,
                     java.lang.Object type)
This implementation substitutes the factory itself as the key for the adapter.


addListener

public void addListener(INotifyChangedListener notifyChangedListener)
This adds a listener.


removeListener

public void removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener.


fireNotifyChanged

public void fireNotifyChanged(Notification notification)
This delegates to changeNotifier and to parentAdapterFactory.


dispose

public void dispose()
This disposes all of the item providers created by this factory.


Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.