public class XbaseBatchScopeProvider extends Object implements IBatchScopeProvider, IDelegatingScopeProvider
| Constructor and Description |
|---|
XbaseBatchScopeProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected IScope |
delegateGetScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
IScopeProvider |
getDelegate() |
protected FeatureScopes |
getFeatureScopes() |
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(IScopeProvider delegate) |
protected IScope delegateGetScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
public void setDelegate(IScopeProvider delegate)
public IScopeProvider getDelegate()
getDelegate in interface IDelegatingScopeProviderpublic IScope getScope(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference)
getScope in interface 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 IBatchScopeProviderCopyright © 2015. All Rights Reserved.