public interface ScopingResourceSet extends ExtendedResourceSet
Modifier and Type | Method and Description |
---|---|
java.util.List<org.eclipse.emf.ecore.resource.Resource> |
getResourcesInModel(java.lang.Object contextObject)
Retrieves all
resource s in this resourceset owned by the model containing
the context object and its referenced models. |
java.util.List<org.eclipse.emf.ecore.resource.Resource> |
getResourcesInModel(java.lang.Object contextObject,
boolean includeReferencedScopes)
Retrieves all
resource s in this resourceset owned by the model containing
the context object. |
java.util.List<org.eclipse.emf.ecore.resource.Resource> |
getResourcesInScope(java.lang.Object contextObject)
Retrieves all
resource s in this resourceset owned by the
resource scope containing the context object and its referenced resource scope s. |
java.util.List<org.eclipse.emf.ecore.resource.Resource> |
getResourcesInScope(java.lang.Object contextObject,
boolean includeReferencedScopes)
Retrieves all
resource s in this resourceset owned by the
resource scope containing the context object. |
boolean |
isResourceInScope(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.Object contextObject)
|
boolean |
isResourceInScope(org.eclipse.emf.ecore.resource.Resource resource,
java.lang.Object contextObject,
boolean includeReferencedScopes)
|
augmentToContextAwareProxy, getEObject, trimProxyContextInfo
createResource, createResource, getAdapterFactories, getAllContents, getEObject, getLoadOptions, getPackageRegistry, getResource, getResourceFactoryRegistry, getResources, getURIConverter, setPackageRegistry, setResourceFactoryRegistry, setURIConverter
java.util.List<org.eclipse.emf.ecore.resource.Resource> getResourcesInModel(java.lang.Object contextObject)
resource
s in this resourceset
owned by the model containing
the context object and its referenced models.contextObject
- A context object for which a list of resources should be retrieved.java.util.List<org.eclipse.emf.ecore.resource.Resource> getResourcesInModel(java.lang.Object contextObject, boolean includeReferencedScopes)
resource
s in this resourceset
owned by the model containing
the context object.contextObject
- A context object for which a list of resources should be retrieved.includeReferencedScopes
- A boolean value that let to decide if resources must be retrieved under depending roots of the
concerned modeljava.util.List<org.eclipse.emf.ecore.resource.Resource> getResourcesInScope(java.lang.Object contextObject)
resource
s in this resourceset
owned by the
resource scope
containing the context object and its referenced resource scope
s.contextObject
- A context object for which a list of resources should be retrieved.java.util.List<org.eclipse.emf.ecore.resource.Resource> getResourcesInScope(java.lang.Object contextObject, boolean includeReferencedScopes)
resource
s in this resourceset
owned by the
resource scope
containing the context object.contextObject
- A context object for which a list of resources should be retrieved.includeReferencedScopes
- A boolean value that let to decide if resources must be retrieved under depending roots of the
concerned model.boolean isResourceInScope(org.eclipse.emf.ecore.resource.Resource resource, java.lang.Object contextObject)
resource
- The resource to be investigated.contextObject
- The context object identifying the resource scope to refer to.true
if given resource belongs to the resource scope behind provided
contextObject
, or false
otherwise.boolean isResourceInScope(org.eclipse.emf.ecore.resource.Resource resource, java.lang.Object contextObject, boolean includeReferencedScopes)
resource
- The resource to be investigated.contextObject
- The context object identifying the resource scope to refer to.includeReferencedScopes
- true
if the resource scopes that are referenced by the resource scope behind the context
object are to be considered as well, false
if only the resource scope behind the context
object is to be considered.true
if given resource belongs to the resource scope behind provided
contextObject
, or false
otherwise.