public class ResourceSetBasedAllContainersState extends Object implements IAllContainersState
IAllContainersState associates resource (e.g. their URIs) to containers. It assumes that
all URIs and their containers are known when configure(List, Multimap) is called.FlatResourceSetBasedAllContainersStateIAllContainersState.Provider| Constructor and Description |
|---|
ResourceSetBasedAllContainersState() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(List<String> containers,
com.google.common.collect.Multimap<String,org.eclipse.emf.common.util.URI> container2Uris) |
Collection<org.eclipse.emf.common.util.URI> |
getContainedURIs(String containerHandle) |
String |
getContainerHandle(org.eclipse.emf.common.util.URI uri) |
List<String> |
getVisibleContainerHandles(String handle) |
boolean |
isEmpty(String containerHandle) |
String |
toString() |
public void configure(List<String> containers, com.google.common.collect.Multimap<String,org.eclipse.emf.common.util.URI> container2Uris)
public List<String> getVisibleContainerHandles(String handle)
getVisibleContainerHandles in interface IAllContainersStatepublic Collection<org.eclipse.emf.common.util.URI> getContainedURIs(String containerHandle)
getContainedURIs in interface IAllContainersStatepublic boolean isEmpty(String containerHandle)
isEmpty in interface IAllContainersStatepublic String getContainerHandle(org.eclipse.emf.common.util.URI uri)
getContainerHandle in interface IAllContainersStateCopyright © 2015. All Rights Reserved.