public interface ModelResolver
Method Summary | |
---|---|
ProjectRegistry |
getProjectRegistry()
Return the project registry, creating and loading it if not already loaded. |
org.eclipse.emf.ecore.resource.Resource |
getResource(org.eclipse.emf.common.util.URI uri,
boolean loadOnDemand)
|
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet()
|
org.eclipse.emf.common.util.URI |
getURI(Accessor accessor)
Return the (Ecore) URI suitable for getting the (Ecore) resource defined by the accessor in the context of a file defined by its handle. |
org.eclipse.emf.common.util.URI |
getURI(java.lang.String modelName)
Return the (Ecore) URI suitable for getting the (Ecore) resource defined by the modelName in the context of a file defined by its handle. |
org.eclipse.emf.common.util.URI |
getURI(java.net.URI uri)
Return the (Ecore) URI suitable for getting the (Ecore) resource defined by the (java.net.URI) uri in the context of a file defined by its handle. |
Method Detail |
---|
ProjectRegistry getProjectRegistry()
org.eclipse.emf.ecore.resource.Resource getResource(org.eclipse.emf.common.util.URI uri, boolean loadOnDemand) throws java.lang.Exception
java.lang.Exception
org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
org.eclipse.emf.common.util.URI getURI(Accessor accessor)
accessor
- the name and type of resource to be located.
org.eclipse.emf.common.util.URI getURI(java.lang.String modelName)
modelName
- the name of the model to be located.
org.eclipse.emf.common.util.URI getURI(java.net.URI uri)
uri
- the URI name of the model to be located.