org.eclipse.ocl.examples.xtext.base.scoping.pivot
Class AbstractPivotScopeAdapter<P extends Element>

java.lang.Object
  extended by org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter<P>
      extended by org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractPivotScopeAdapter<P>
Type Parameters:
T -
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, TypeManagedAdapter, ScopeAdapter
Direct Known Subclasses:
ClassScopeAdapter, EmptyScopeAdapter, EnumerationScopeAdapter, ExpressionInOclScopeAdapter, ExpressionScopeAdapter, IterateExpScopeAdapter, IteratorExpScopeAdapter, OperationCallExpScopeAdapter, OperationScopeAdapter, PackageScopeAdapter, RootPackageScopeAdapter

public abstract class AbstractPivotScopeAdapter<P extends Element>
extends AbstractScopeAdapter<P>

A AbstractScopeAdapter provides the basic behaviour for a family of derived classes that provide additional scope/environment behaviour for corresponding CS elements.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.examples.xtext.base.scope.ScopeAdapter
ScopeAdapter.Switch
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
org.eclipse.emf.common.notify.Adapter.Internal
 
Field Summary
protected  RootScopeAdapter document
           
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter
parent, target
 
Constructor Summary
protected AbstractPivotScopeAdapter(TypeManager typeManager, Element parentElement, P pivotElement)
           
protected AbstractPivotScopeAdapter(TypeManager typeManager, P pivotElement)
          Creates an instance.
 
Method Summary
 java.lang.String getMoniker()
           
 RootScopeAdapter getRootScopeAdapter()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter
computeLookup, computeLookup, dispose, getDocumentScopeAdapter, getDocumentScopeAdapter, getInnerScopeView, getOuterScopeView, getParent, getScopeAdapter, getScopeCSAdapter, getSourceScope, getTarget, isAdapterFor, isAdapterForType, notifyChanged, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

document

protected final RootScopeAdapter document
Constructor Detail

AbstractPivotScopeAdapter

protected AbstractPivotScopeAdapter(TypeManager typeManager,
                                    P pivotElement)
Creates an instance.

Parameters:
parent -

AbstractPivotScopeAdapter

protected AbstractPivotScopeAdapter(TypeManager typeManager,
                                    Element parentElement,
                                    P pivotElement)
Method Detail

getMoniker

public java.lang.String getMoniker()

getRootScopeAdapter

public RootScopeAdapter getRootScopeAdapter()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object