public interface IProxyResolver
Modifier and Type | Method and Description |
---|---|
boolean |
canResolve(org.eclipse.emf.ecore.EClass type) |
boolean |
canResolve(org.eclipse.emf.ecore.EObject proxy) |
org.eclipse.emf.ecore.EObject |
getEObject(org.eclipse.emf.ecore.EObject proxy,
org.eclipse.emf.ecore.EObject contextObject,
boolean loadOnDemand)
Retrieves the object for specified
proxy . |
org.eclipse.emf.ecore.EObject |
getEObject(org.eclipse.emf.common.util.URI uri,
ExtendedResourceSet contextResourceSet,
java.lang.Object contextObject,
boolean loadOnDemand)
Returns the object resolved by the URI.
|
boolean canResolve(org.eclipse.emf.ecore.EClass type)
boolean canResolve(org.eclipse.emf.ecore.EObject proxy)
org.eclipse.emf.ecore.EObject getEObject(org.eclipse.emf.ecore.EObject proxy, org.eclipse.emf.ecore.EObject contextObject, boolean loadOnDemand)
proxy
. Allows to use provided
contextObject
- i.e., the object referencing the proxy - to customize or optimize the way how the
resolution of the proxy is done.proxy
- The to be resolved.contextObject
- The context object
that can be used customize or optimize the way how the resolution
of the proxy is done.loadOnDemand
- Whether to load the resource or model containing the object that is referenced by given
proxy
if it is not already loaded.proxy
or null
if given
proxy
cannot be resolved.org.eclipse.emf.ecore.EObject getEObject(org.eclipse.emf.common.util.URI uri, ExtendedResourceSet contextResourceSet, java.lang.Object contextObject, boolean loadOnDemand)