|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.builder.clustering.CurrentDescriptions.ResourceSetAware
public static class CurrentDescriptions.ResourceSetAware
Context-aware instance of our index.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.IResourceDescriptions |
---|
IResourceDescriptions.IContextAware, IResourceDescriptions.NullImpl |
Constructor Summary | |
---|---|
CurrentDescriptions.ResourceSetAware()
|
Method Summary | |
---|---|
java.lang.Iterable<IResourceDescription> |
getAllResourceDescriptions()
Return the full contents of the index. |
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)
|
IResourceDescription |
getResourceDescription(org.eclipse.emf.common.util.URI uri)
Return the resource description for a URI. |
boolean |
isEmpty()
Clients may want to check the selectable to skip its processing in case it is empty. |
void |
setContext(org.eclipse.emf.common.notify.Notifier ctx)
Set the context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrentDescriptions.ResourceSetAware()
Method Detail |
---|
public void setContext(org.eclipse.emf.common.notify.Notifier ctx)
setContext
in interface IResourceDescriptions.IContextAware
ctx
- The contextpublic java.lang.Iterable<IResourceDescription> getAllResourceDescriptions()
getAllResourceDescriptions
in interface IResourceDescriptions
public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
getResourceDescription
in interface IResourceDescriptions
uri
- The URI
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> getExportedObjects()
getExportedObjects
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
.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
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |