public class LayeredTypeResourceDescription extends java.lang.Object implements IResourceDescription
layered description
enhances the
delegate with additionally exported objects.IResourceDescription.CoarseGrainedEvent, IResourceDescription.Delta, IResourceDescription.Event, IResourceDescription.Manager
Constructor and Description |
---|
LayeredTypeResourceDescription(TypeResourceDescription delegate,
java.util.List<IEObjectDescription> additionallyExported) |
Modifier and Type | Method and Description |
---|---|
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) |
java.lang.Iterable<QualifiedName> |
getImportedNames() |
java.lang.Iterable<IReferenceDescription> |
getReferenceDescriptions() |
org.eclipse.emf.common.util.URI |
getURI() |
boolean |
isEmpty()
Clients may want to check the selectable to skip its processing in case it is empty.
|
public LayeredTypeResourceDescription(TypeResourceDescription delegate, java.util.List<IEObjectDescription> additionallyExported)
public java.lang.Iterable<QualifiedName> getImportedNames()
getImportedNames
in interface IResourceDescription
public java.lang.Iterable<IReferenceDescription> getReferenceDescriptions()
getReferenceDescriptions
in interface IResourceDescription
public org.eclipse.emf.common.util.URI getURI()
getURI
in interface IResourceDescription
null
.public java.lang.Iterable<IEObjectDescription> getExportedObjects()
getExportedObjects
in interface IResourceDescription
getExportedObjects
in interface ISelectable
name
and eObjectOrProxy
only once as an
IEObjectDescription
. The order of the exported objects matters.public boolean isEmpty()
ISelectable
false
if it is too expensive to compute the actual result.isEmpty
in interface ISelectable
true
if the selectable does not provide any descriptions.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
getExportedObjectsByType
in interface ISelectable
null
.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
getExportedObjectsByObject
in interface ISelectable
null
.public java.lang.Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName name, boolean ignoreCase)
getExportedObjects
in interface ISelectable
null
.