public abstract class AbstractResourceDescription extends java.lang.Object implements IResourceDescription
IResourceDescription.CoarseGrainedEvent, IResourceDescription.Delta, IResourceDescription.Event, IResourceDescription.Manager| Modifier and Type | Field and Description |
|---|---|
protected EObjectDescriptionLookUp |
lookup |
| Constructor and Description |
|---|
AbstractResourceDescription() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract java.util.List<IEObjectDescription> |
computeExportedObjects() |
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 EObjectDescriptionLookUp |
getLookUp() |
protected org.eclipse.emf.common.util.URI |
getNormalizedURI(org.eclipse.emf.ecore.resource.Resource resource) |
boolean |
isEmpty()
Clients may want to check the selectable to skip its processing in case it is empty.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetImportedNames, getReferenceDescriptions, getURIprotected EObjectDescriptionLookUp lookup
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.public java.lang.Iterable<IEObjectDescription> getExportedObjects()
getExportedObjects in interface IResourceDescriptiongetExportedObjects in interface ISelectablename and eObjectOrProxy only once as an
IEObjectDescription. The order of the exported objects matters.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
getExportedObjectsByType in interface ISelectablenull.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
getExportedObjectsByObject in interface ISelectablenull.public java.lang.Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName name, boolean ignoreCase)
getExportedObjects in interface ISelectablenull.protected abstract java.util.List<IEObjectDescription> computeExportedObjects()
protected EObjectDescriptionLookUp getLookUp()
protected org.eclipse.emf.common.util.URI getNormalizedURI(org.eclipse.emf.ecore.resource.Resource resource)