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 |
|---|---|
Collection<org.eclipse.emf.common.util.URI> |
getContainedURIs(String containerHandle) |
String |
getContainerHandle(org.eclipse.emf.common.util.URI uri) |
static String |
getHandle() |
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet() |
List<String> |
getVisibleContainerHandles(String handle) |
boolean |
isAdapterForType(Object type) |
boolean |
isEmpty(String containerHandle) |
public FlatResourceSetBasedAllContainersState(org.eclipse.emf.ecore.resource.ResourceSet rs)
public static String getHandle()
public Collection<org.eclipse.emf.common.util.URI> getContainedURIs(String containerHandle)
getContainedURIs in interface IAllContainersStatepublic String getContainerHandle(org.eclipse.emf.common.util.URI uri)
getContainerHandle in interface IAllContainersStatepublic org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
public List<String> getVisibleContainerHandles(String handle)
getVisibleContainerHandles in interface IAllContainersStatepublic boolean isAdapterForType(Object type)
isAdapterForType in interface org.eclipse.emf.common.notify.AdapterisAdapterForType in class org.eclipse.emf.common.notify.impl.AdapterImplpublic boolean isEmpty(String containerHandle)
isEmpty in interface IAllContainersStateCopyright © 2015. All Rights Reserved.