public class FlatResourceSetBasedAllContainersState extends org.eclipse.emf.common.notify.impl.AdapterImpl implements IAllContainersState
IAllContainersState
puts all resources from a ResourceSet
into one single
container. 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 |
equals(java.lang.Object arg0) |
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) |
int |
hashCode() |
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 boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
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 int hashCode()
hashCode
in class java.lang.Object
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