de.cau.cs.kieler.synccharts.text.interfaces.scoping
Class InterfacesScopeProvider

java.lang.Object
  extended by org.eclipse.xtext.scoping.impl.AbstractScopeProvider
      extended by org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
          extended by de.cau.cs.kieler.synccharts.text.interfaces.scoping.InterfacesScopeProvider
All Implemented Interfaces:
org.eclipse.xtext.scoping.IScopeProvider

public class InterfacesScopeProvider
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

Rating red

Field Summary
 
Fields inherited from class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider
logger, NAMED_DELEGATE, NAMED_ERROR_HANDLER
 
Constructor Summary
InterfacesScopeProvider()
           
 
Method Summary
static State getParent()
          Getter for the parent.
 org.eclipse.xtext.scoping.IScope getScope(EObject context, EReference reference)
          
static void setParent(State parentParam)
          Setter for the parent.
 
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
 

Constructor Detail

InterfacesScopeProvider

public InterfacesScopeProvider()
Method Detail

getParent

public static State getParent()
Getter for the parent.

Returns:
the parent

setParent

public static void setParent(State parentParam)
Setter for the parent.

Parameters:
parentParam - the parent to set

getScope

public org.eclipse.xtext.scoping.IScope getScope(EObject context,
                                                 EReference reference)

Specified by:
getScope in interface org.eclipse.xtext.scoping.IScopeProvider
Overrides:
getScope in class org.eclipse.xtext.scoping.impl.AbstractDeclarativeScopeProvider