public class XbaseBatchScopeProvider extends java.lang.Object implements IBatchScopeProvider, org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider
| Constructor and Description |
|---|
XbaseBatchScopeProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.xtext.scoping.IScope |
delegateGetScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
org.eclipse.xtext.scoping.IScopeProvider |
getDelegate() |
protected FeatureScopes |
getFeatureScopes() |
org.eclipse.xtext.scoping.IScope |
getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
boolean |
isBatchScopeable(org.eclipse.emf.ecore.EReference reference)
Returns
true if a proxy at the given reference should be
resolved by means of a batch run. |
boolean |
isConstructorCallScope(org.eclipse.emf.ecore.EReference reference) |
boolean |
isFeatureCallScope(org.eclipse.emf.ecore.EReference reference) |
protected boolean |
isTypeScope(org.eclipse.emf.ecore.EReference reference) |
IFeatureScopeSession |
newSession(org.eclipse.emf.ecore.resource.Resource context)
Returns a preconfigured feature scope session that is aware of
implicitly imported types such as
CollectionLiterals. |
void |
setDelegate(org.eclipse.xtext.scoping.IScopeProvider delegate) |
void |
setWrapper(org.eclipse.xtext.scoping.impl.IScopeWrapper wrapper) |
protected org.eclipse.xtext.scoping.IScope delegateGetScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)
public void setDelegate(org.eclipse.xtext.scoping.IScopeProvider delegate)
public org.eclipse.xtext.scoping.IScopeProvider getDelegate()
getDelegate in interface org.eclipse.xtext.scoping.impl.IDelegatingScopeProviderpublic void setWrapper(org.eclipse.xtext.scoping.impl.IScopeWrapper wrapper)
setWrapper in interface org.eclipse.xtext.scoping.impl.IDelegatingScopeProviderpublic 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.IScopeProviderpublic IFeatureScopeSession newSession(org.eclipse.emf.ecore.resource.Resource context)
IBatchScopeProviderCollectionLiterals.newSession in interface IBatchScopeProvidercontext - the resource that contains the to-be-linked instances.null.protected boolean isTypeScope(org.eclipse.emf.ecore.EReference reference)
public boolean isConstructorCallScope(org.eclipse.emf.ecore.EReference reference)
isConstructorCallScope in interface IBatchScopeProviderpublic boolean isFeatureCallScope(org.eclipse.emf.ecore.EReference reference)
isFeatureCallScope in interface IBatchScopeProviderprotected FeatureScopes getFeatureScopes()
public boolean isBatchScopeable(org.eclipse.emf.ecore.EReference reference)
IBatchScopeProvidertrue if a proxy at the given reference should be
resolved by means of a batch run.isBatchScopeable in interface IBatchScopeProvider