public class FlatResourceSetBasedAllContainersState extends org.eclipse.emf.common.notify.impl.AdapterImpl implements IAllContainersState
IAllContainersState looks whether a ResourceDescriptionsData is installed on the wrapped ResourceSet
and delegates to that. If no such adapter is installed it uses the contents of the ResourceSet. Resource that are loaded after this class has been created are also considered.IAllContainersState.Provider| Constructor and Description |
|---|
FlatResourceSetBasedAllContainersState(org.eclipse.emf.ecore.resource.ResourceSet rs) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsURI(java.lang.String containerHandle,
org.eclipse.emf.common.util.URI candidateURI) |
java.util.Collection<org.eclipse.emf.common.util.URI> |
getContainedURIs(java.lang.String containerHandle) |
java.lang.String |
getContainerHandle(org.eclipse.emf.common.util.URI uri) |
static java.lang.String |
getHandle() |
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet() |
java.util.List<java.lang.String> |
getVisibleContainerHandles(java.lang.String handle) |
boolean |
isAdapterForType(java.lang.Object type) |
boolean |
isEmpty(java.lang.String containerHandle) |
public FlatResourceSetBasedAllContainersState(org.eclipse.emf.ecore.resource.ResourceSet rs)
public static java.lang.String getHandle()
public java.util.Collection<org.eclipse.emf.common.util.URI> getContainedURIs(java.lang.String containerHandle)
getContainedURIs in interface IAllContainersStatepublic boolean containsURI(java.lang.String containerHandle,
org.eclipse.emf.common.util.URI candidateURI)
containsURI in interface IAllContainersStatepublic java.lang.String getContainerHandle(org.eclipse.emf.common.util.URI uri)
getContainerHandle in interface IAllContainersStatepublic org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
public java.util.List<java.lang.String> getVisibleContainerHandles(java.lang.String handle)
getVisibleContainerHandles in interface IAllContainersStatepublic boolean isAdapterForType(java.lang.Object type)
isAdapterForType in interface org.eclipse.emf.common.notify.AdapterisAdapterForType in class org.eclipse.emf.common.notify.impl.AdapterImplpublic boolean isEmpty(java.lang.String containerHandle)
isEmpty in interface IAllContainersState