public class LoadOnDemandResourceDescriptions extends AbstractCompoundSelectable implements IResourceDescriptions
IResourceDescriptions.IContextAware, IResourceDescriptions.NullImpl
Constructor and Description |
---|
LoadOnDemandResourceDescriptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IResourceDescription> |
getAllResourceDescriptions() |
IResourceDescription |
getResourceDescription(org.eclipse.emf.common.util.URI uri)
Returns the resource descriptions for the given URI.
|
protected java.lang.Iterable<? extends ISelectable> |
getSelectables() |
void |
initialize(IResourceDescriptions delegate,
java.util.Collection<org.eclipse.emf.common.util.URI> validUris,
org.eclipse.emf.ecore.resource.Resource context) |
boolean |
isEmpty()
Clients may want to check the selectable to skip its processing in case it is empty.
|
getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType
public void initialize(IResourceDescriptions delegate, java.util.Collection<org.eclipse.emf.common.util.URI> validUris, org.eclipse.emf.ecore.resource.Resource context)
public java.lang.Iterable<IResourceDescription> getAllResourceDescriptions()
getAllResourceDescriptions
in interface IResourceDescriptions
public boolean isEmpty()
ISelectable
false
if it is too expensive to compute the actual result.isEmpty
in interface ISelectable
isEmpty
in class AbstractCompoundSelectable
true
if the selectable does not provide any descriptions.protected java.lang.Iterable<? extends ISelectable> getSelectables()
getSelectables
in class AbstractCompoundSelectable
public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
IResourceDescriptions
getResourceDescription
in interface IResourceDescriptions