public abstract class MyAbstractDeclarativeScopeProvider
extends org.eclipse.xtext.scoping.impl.AbstractScopeProvider
implements org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
An extended abstract declarative scope provider to facilitate the reusing of abstract declarative scope providers together with XBase scope provider.
See http://www.eclipse.org/forums/index .php/mv/msg/219841/699521/#msg_699521 for details.
Modifier and Type | Field and Description |
---|---|
org.apache.log4j.Logger |
logger |
static java.lang.String |
NAMED_DELEGATE |
static java.lang.String |
NAMED_ERROR_HANDLER |
Constructor and Description |
---|
MyAbstractDeclarativeScopeProvider() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.xtext.scoping.IScopeProvider |
getDelegate() |
org.eclipse.xtext.util.PolymorphicDispatcher.ErrorHandler<org.eclipse.xtext.scoping.IScope> |
getErrorHandler() |
org.eclipse.xtext.scoping.IScope |
getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
void |
setDelegate(org.eclipse.xtext.scoping.IScopeProvider delegate) |
void |
setErrorHandler(org.eclipse.xtext.util.PolymorphicDispatcher.ErrorHandler<org.eclipse.xtext.scoping.IScope> errorHandler) |
public static final java.lang.String NAMED_DELEGATE
public static final java.lang.String NAMED_ERROR_HANDLER
public final org.apache.log4j.Logger logger
public void setDelegate(org.eclipse.xtext.scoping.IScopeProvider delegate)
public org.eclipse.xtext.scoping.IScopeProvider getDelegate()
getDelegate
in interface org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
public org.eclipse.xtext.scoping.IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
getScope
in interface org.eclipse.xtext.scoping.IScopeProvider
public void setErrorHandler(org.eclipse.xtext.util.PolymorphicDispatcher.ErrorHandler<org.eclipse.xtext.scoping.IScope> errorHandler)
public org.eclipse.xtext.util.PolymorphicDispatcher.ErrorHandler<org.eclipse.xtext.scoping.IScope> getErrorHandler()