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 |
---|---|
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 IAllContainersState
public java.lang.String getContainerHandle(org.eclipse.emf.common.util.URI uri)
getContainerHandle
in interface IAllContainersState
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
public java.util.List<java.lang.String> getVisibleContainerHandles(java.lang.String handle)
getVisibleContainerHandles
in interface IAllContainersState
public boolean isAdapterForType(java.lang.Object type)
isAdapterForType
in interface org.eclipse.emf.common.notify.Adapter
isAdapterForType
in class org.eclipse.emf.common.notify.impl.AdapterImpl
public boolean isEmpty(java.lang.String containerHandle)
isEmpty
in interface IAllContainersState