public class FilterUriContainer extends AbstractContainer
resource description
with a given uri
from another container.IContainer.Manager
NULL_CONTAINER
Constructor and Description |
---|
FilterUriContainer(org.eclipse.emf.common.util.URI filterMe,
IContainer delegate) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IEObjectDescription> |
getExportedObjects(org.eclipse.emf.ecore.EClass type,
QualifiedName qualifiedName,
boolean ignoreCase) |
java.lang.Iterable<IEObjectDescription> |
getExportedObjectsByType(org.eclipse.emf.ecore.EClass type) |
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) |
boolean |
isEmpty()
Clients may want to check the selectable to skip its processing in case it is empty.
|
getExportedObjectsByObject, getSelectables
getExportedObjects
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExportedObjects
public FilterUriContainer(org.eclipse.emf.common.util.URI filterMe, IContainer delegate)
public boolean isEmpty()
ISelectable
false
if it is too expensive to compute the actual result.isEmpty
in interface ISelectable
isEmpty
in class AbstractCompoundSelectable
true
if the selectable does not provide any descriptions.public boolean hasResourceDescription(org.eclipse.emf.common.util.URI uri)
hasResourceDescription
in interface IContainer
hasResourceDescription
in class AbstractContainer
true
if the container can provide a resource description with the given uri
.public int getResourceDescriptionCount()
getResourceDescriptionCount
in interface IContainer
getResourceDescriptionCount
in class AbstractContainer
IContainer.getResourceDescriptions()
public java.lang.Iterable<IResourceDescription> getResourceDescriptions()
IResourceDescription
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 java.lang.Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName qualifiedName, boolean ignoreCase)
getExportedObjects
in interface ISelectable
getExportedObjects
in class AbstractCompoundSelectable
null
.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
getExportedObjectsByType
in interface ISelectable
getExportedObjectsByType
in class AbstractCompoundSelectable
null
.public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
getResourceDescription
in interface IContainer
getResourceDescription
in class AbstractContainer
IResourceDescription
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.