@Beta public class LiveShadowedChunkedContainer extends java.lang.Object implements IContainer
IContainer.ManagerNULL_CONTAINER| Constructor and Description |
|---|
LiveShadowedChunkedContainer(LiveShadowedChunkedResourceDescriptions descriptions,
java.lang.String containerName) |
| Modifier and Type | Method and Description |
|---|---|
protected ResourceDescriptionsData |
getChunk() |
protected ChunkedResourceDescriptions |
getChunkedResourceDescriptions() |
protected java.lang.Iterable<IResourceDescription> |
getContainedLocalDescriptions() |
protected java.util.Set<org.eclipse.emf.common.util.URI> |
getExistingOrRenamedResourceURIs() |
java.lang.Iterable<IEObjectDescription> |
getExportedObjects() |
java.lang.Iterable<IEObjectDescription> |
getExportedObjects(org.eclipse.emf.ecore.EClass type,
QualifiedName name,
boolean ignoreCase) |
java.lang.Iterable<IEObjectDescription> |
getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object) |
java.lang.Iterable<IEObjectDescription> |
getExportedObjectsByType(org.eclipse.emf.ecore.EClass type) |
protected IProjectConfig |
getProjectConfig() |
IResourceDescription |
getResourceDescription(org.eclipse.emf.common.util.URI uri) |
int |
getResourceDescriptionCount() |
java.lang.Iterable<IResourceDescription> |
getResourceDescriptions() |
boolean |
hasResourceDescription(org.eclipse.emf.common.util.URI uri) |
protected boolean |
isContained(org.eclipse.emf.common.util.URI uri) |
boolean |
isEmpty()
Clients may want to check the selectable to skip its processing in case it is empty.
|
public LiveShadowedChunkedContainer(LiveShadowedChunkedResourceDescriptions descriptions, java.lang.String containerName)
protected ChunkedResourceDescriptions getChunkedResourceDescriptions()
protected IProjectConfig getProjectConfig()
protected ResourceDescriptionsData getChunk()
protected java.lang.Iterable<IResourceDescription> getContainedLocalDescriptions()
protected boolean isContained(org.eclipse.emf.common.util.URI uri)
public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
getResourceDescription in interface IContainerIResourceDescription for the given URI, or null is this container does
not contain such an IResourceDescription.
The result may be a cached view on the actual content of the underlying resource.public int getResourceDescriptionCount()
getResourceDescriptionCount in interface IContainerIContainer.getResourceDescriptions()public java.lang.Iterable<IResourceDescription> getResourceDescriptions()
getResourceDescriptions in interface IContainerIResourceDescription contained in this container. The result is never
null. The result may be a cached view on the actual content of the underlying resources.public boolean hasResourceDescription(org.eclipse.emf.common.util.URI uri)
hasResourceDescription in interface IContainertrue if the container can provide a resource description with the given uri.public java.lang.Iterable<IEObjectDescription> getExportedObjects()
getExportedObjects in interface ISelectablenull.public java.lang.Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName name, boolean ignoreCase)
getExportedObjects in interface ISelectablenull.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
getExportedObjectsByObject in interface ISelectablenull.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
getExportedObjectsByType in interface ISelectablenull.public boolean isEmpty()
ISelectablefalse if it is too expensive to compute the actual result.isEmpty in interface ISelectabletrue if the selectable does not provide any descriptions.protected java.util.Set<org.eclipse.emf.common.util.URI> getExistingOrRenamedResourceURIs()