org.eclipse.ocl.examples.xtext.base.scoping.cs
Class MonikeredElementCSScopeAdapter<CS extends MonikeredElementCS,P extends MonikeredElement>

java.lang.Object
  extended by org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter<CS>
      extended by org.eclipse.ocl.examples.xtext.base.scoping.cs.ElementCSScopeAdapter<CS>
          extended by org.eclipse.ocl.examples.xtext.base.scoping.cs.ModelElementCSScopeAdapter<CS,P>
              extended by org.eclipse.ocl.examples.xtext.base.scoping.cs.MonikeredElementCSScopeAdapter<CS,P>
Type Parameters:
T -
All Implemented Interfaces:
org.eclipse.emf.common.notify.Adapter, org.eclipse.emf.common.notify.Adapter.Internal, TypeManagedAdapter, ScopeAdapter, ScopeCSAdapter
Direct Known Subclasses:
AbstractRootCSScopeAdapter, BaseCSScopeAdapter, ImportScopeAdapter, IncludeScopeAdapter, LibraryScopeAdapter, PackageCSScopeAdapter, TemplateSignatureCSScopeAdapter

public abstract class MonikeredElementCSScopeAdapter<CS extends MonikeredElementCS,P extends MonikeredElement>
extends ModelElementCSScopeAdapter<CS,P>

A ModelElementCSScopeAdapter provides the basic behaviour for a family of derived classes that provide additional scope/environment behaviour for corresponding CS elements and pivot element counterparts.


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
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.scoping.cs.ModelElementCSScopeAdapter
csClass, pivotClass
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.scoping.cs.ElementCSScopeAdapter
root, typeManager
 
Fields inherited from class org.eclipse.ocl.examples.xtext.base.scoping.pivot.AbstractScopeAdapter
parent, target
 
Constructor Summary
protected MonikeredElementCSScopeAdapter(TypeManager typeManager, CS csElement, java.lang.Class<P> pivotClass)
          Creates an instance.
protected MonikeredElementCSScopeAdapter(TypeManager typeManager, org.eclipse.emf.ecore.EObject csParent, CS csElement, java.lang.Class<P> pivotClass)
           
 
Method Summary
 java.lang.String getMoniker()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.scoping.cs.ModelElementCSScopeAdapter
getNamespaceScope, getNextNamespaceScope, getPivot
 
Methods inherited from class org.eclipse.ocl.examples.xtext.base.scoping.cs.ElementCSScopeAdapter
getRootScopeAdapter, getTypeManager, isAdapterFor
 
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, isAdapterForType, notifyChanged, setTarget, unsetTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.examples.xtext.base.scope.ScopeAdapter
computeLookup, computeLookup, getInnerScopeView, getOuterScopeView, getParent, getSourceScope, getTarget
 
Methods inherited from interface org.eclipse.ocl.examples.pivot.utilities.TypeManagedAdapter
dispose
 
Methods inherited from interface org.eclipse.emf.common.notify.Adapter.Internal
unsetTarget
 
Methods inherited from interface org.eclipse.emf.common.notify.Adapter
isAdapterForType, notifyChanged, setTarget
 

Constructor Detail

MonikeredElementCSScopeAdapter

protected MonikeredElementCSScopeAdapter(TypeManager typeManager,
                                         CS csElement,
                                         java.lang.Class<P> pivotClass)
Creates an instance.

Parameters:
parent -

MonikeredElementCSScopeAdapter

protected MonikeredElementCSScopeAdapter(TypeManager typeManager,
                                         org.eclipse.emf.ecore.EObject csParent,
                                         CS csElement,
                                         java.lang.Class<P> pivotClass)
Method Detail

getMoniker

public final java.lang.String getMoniker()

toString

public java.lang.String toString()
Overrides:
toString in class ElementCSScopeAdapter<CS extends MonikeredElementCS>