public class ResourceSetBasedResourceDescriptions extends AbstractCompoundSelectable implements IResourceDescriptions.IContextAware
IResourceDescriptions.IContextAware, IResourceDescriptions.NullImpl| Constructor and Description |
|---|
ResourceSetBasedResourceDescriptions() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<IResourceDescription> |
getAllResourceDescriptions() |
java.lang.Iterable<IEObjectDescription> |
getExportedObjects() |
java.lang.Iterable<IEObjectDescription> |
getExportedObjects(org.eclipse.emf.ecore.EClass type,
QualifiedName qualifiedName,
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)
Returns the resource descriptions for the given URI.
|
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet() |
protected java.lang.Iterable<? extends ISelectable> |
getSelectables() |
protected boolean |
hasDescription(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.
|
void |
setContext(org.eclipse.emf.common.notify.Notifier ctx) |
void |
setRegistry(IResourceServiceProvider.Registry registry) |
java.lang.String |
toString() |
public ResourceSetBasedResourceDescriptions()
public void setRegistry(IResourceServiceProvider.Registry registry)
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
public java.lang.Iterable<IResourceDescription> getAllResourceDescriptions()
getAllResourceDescriptions in interface IResourceDescriptionsprotected java.lang.Iterable<? extends ISelectable> getSelectables()
getSelectables in class AbstractCompoundSelectablepublic 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.protected boolean hasDescription(org.eclipse.emf.common.util.URI uri)
public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
IResourceDescriptionsgetResourceDescription in interface IResourceDescriptionspublic void setContext(org.eclipse.emf.common.notify.Notifier ctx)
setContext in interface IResourceDescriptions.IContextAwarepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Iterable<IEObjectDescription> getExportedObjects()
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 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> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
getExportedObjectsByObject in interface ISelectablegetExportedObjectsByObject in class AbstractCompoundSelectablenull.