public class DescriptionAddingContainer extends AbstractContainer
IContainer.ManagerNULL_CONTAINER| Constructor and Description |
|---|
DescriptionAddingContainer(IResourceDescription addMe,
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, getSelectablesgetExportedObjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExportedObjectspublic DescriptionAddingContainer(IResourceDescription addMe, IContainer delegate)
addMe - the description to be merged into this container. May not be contained in the given delegate.delegate - the backing container.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 int getResourceDescriptionCount()
getResourceDescriptionCount in interface IContainergetResourceDescriptionCount in class AbstractContainerIContainer.getResourceDescriptions()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 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 java.lang.Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName qualifiedName, boolean ignoreCase)
getExportedObjects in interface ISelectablegetExportedObjects in class AbstractCompoundSelectablenull.public java.lang.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.