org.eclipse.ocl.examples.xtext.base.scoping.pivot
Class PivotScopeProvider

java.lang.Object
  extended by org.eclipse.xtext.scoping.impl.AbstractScopeProvider
      extended by org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
          extended by org.eclipse.ocl.examples.xtext.base.scoping.pivot.PivotScopeProvider
All Implemented Interfaces:
org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider, org.eclipse.xtext.scoping.IScopeProvider

public class PivotScopeProvider
extends org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider

This class contains custom scoping description. see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping on how and when to use it


Field Summary
static TracingOption LOOKUP
           
 
Fields inherited from class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
logger, NAMED_DELEGATE, NAMED_ERROR_HANDLER
 
Constructor Summary
PivotScopeProvider()
           
 
Method Summary
 ScopeView getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
           
 
Methods inherited from class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
delegateGetScope, getDelegate, getErrorHandler, getPredicate, getPredicate, polymorphicFindScopeForClassName, polymorphicFindScopeForReferenceName, setDelegate, setErrorHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOOKUP

public static final TracingOption LOOKUP
Constructor Detail

PivotScopeProvider

public PivotScopeProvider()
Method Detail

getScope

public ScopeView getScope(org.eclipse.emf.ecore.EObject context,
                          org.eclipse.emf.ecore.EReference reference)
Specified by:
getScope in interface org.eclipse.xtext.scoping.IScopeProvider
Overrides:
getScope in class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider