Package org.eclipse.xtext.xbase.resource
Class BatchLinkingService
- java.lang.Object
-
- org.eclipse.xtext.xbase.resource.BatchLinkingService
-
public class BatchLinkingService extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BatchLinkingService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isBatchLinkable(org.eclipse.emf.ecore.EReference reference)
void
resolveBatched(org.eclipse.emf.ecore.EObject root)
org.eclipse.emf.ecore.EObject
resolveBatched(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, java.lang.String uriFragment)
org.eclipse.emf.ecore.EObject
resolveBatched(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, java.lang.String uriFragment, org.eclipse.xtext.util.CancelIndicator monitor)
void
resolveBatched(org.eclipse.emf.ecore.EObject root, org.eclipse.xtext.util.CancelIndicator monitor)
-
-
-
Method Detail
-
isBatchLinkable
public boolean isBatchLinkable(org.eclipse.emf.ecore.EReference reference)
-
resolveBatched
public org.eclipse.emf.ecore.EObject resolveBatched(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, java.lang.String uriFragment)
- Parameters:
context
- the current instance that owns the referenced proxy.reference
- theEReference
that has the proxy value.uriFragment
- the lazy linking fragment.- Returns:
- the resolved object for the given context or
null
if it couldn't be resolved
-
resolveBatched
public void resolveBatched(org.eclipse.emf.ecore.EObject root)
-
resolveBatched
public org.eclipse.emf.ecore.EObject resolveBatched(org.eclipse.emf.ecore.EObject context, org.eclipse.emf.ecore.EReference reference, java.lang.String uriFragment, org.eclipse.xtext.util.CancelIndicator monitor)
- Parameters:
context
- the current instance that owns the referenced proxy.reference
- theEReference
that has the proxy value.uriFragment
- the lazy linking fragment.monitor
- used to cancel type resolution- Returns:
- the resolved object for the given context or
null
if it couldn't be resolved - Since:
- 2.7
-
resolveBatched
public void resolveBatched(org.eclipse.emf.ecore.EObject root, org.eclipse.xtext.util.CancelIndicator monitor)
- Since:
- 2.7
-
-