public class FilterUriContainer extends AbstractContainer
resource description
with a given uri from another container.IContainer.ManagerNULL_CONTAINER| Constructor and Description |
|---|
FilterUriContainer(org.eclipse.emf.common.util.URI filterMe,
IContainer delegate) |
| Modifier and Type | Method and Description |
|---|---|
Iterable<IEObjectDescription> |
getExportedObjects(org.eclipse.emf.ecore.EClass type,
QualifiedName qualifiedName,
boolean ignoreCase) |
Iterable<IEObjectDescription> |
getExportedObjectsByType(org.eclipse.emf.ecore.EClass type) |
IResourceDescription |
getResourceDescription(org.eclipse.emf.common.util.URI uri) |
int |
getResourceDescriptionCount() |
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, getSelectablesgetExportedObjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExportedObjectspublic FilterUriContainer(org.eclipse.emf.common.util.URI filterMe,
IContainer delegate)
public boolean isEmpty()
ISelectablefalse if it is too expensive to compute the actual result.isEmpty in interface ISelectableisEmpty in class AbstractCompoundSelectabletrue if the selectable does not provide any descriptions.public boolean hasResourceDescription(org.eclipse.emf.common.util.URI uri)
hasResourceDescription in interface IContainerhasResourceDescription in class AbstractContainertrue if the container can provide a resource description with the given uri.public int getResourceDescriptionCount()
getResourceDescriptionCount in interface IContainergetResourceDescriptionCount in class AbstractContainerIContainer.getResourceDescriptions()public 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 Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName qualifiedName, boolean ignoreCase)
getExportedObjects in interface ISelectablegetExportedObjects in class AbstractCompoundSelectablenull.public Iterable<IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
getExportedObjectsByType in interface ISelectablegetExportedObjectsByType in class AbstractCompoundSelectablenull.public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
getResourceDescription in interface IContainergetResourceDescription in class AbstractContainerIResourceDescription 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.Copyright © 2015. All Rights Reserved.