public class LoadOnDemandResourceDescriptions extends AbstractCompoundSelectable implements IResourceDescriptions
IResourceDescriptions.IContextAware, IResourceDescriptions.NullImpl| Constructor and Description |
|---|
LoadOnDemandResourceDescriptions() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<IResourceDescription> |
getAllResourceDescriptions() |
IResourceDescription |
getResourceDescription(org.eclipse.emf.common.util.URI uri)
Returns the resource descriptions for the given URI.
|
protected Iterable<? extends ISelectable> |
getSelectables() |
void |
initialize(IResourceDescriptions delegate,
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, getExportedObjectsByTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByTypepublic void initialize(IResourceDescriptions delegate, Collection<org.eclipse.emf.common.util.URI> validUris, org.eclipse.emf.ecore.resource.Resource context)
public Iterable<IResourceDescription> getAllResourceDescriptions()
getAllResourceDescriptions in interface IResourceDescriptionspublic 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 Iterable<? extends ISelectable> getSelectables()
getSelectables in class AbstractCompoundSelectablepublic IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
IResourceDescriptionsgetResourceDescription in interface IResourceDescriptionsCopyright © 2015. All Rights Reserved.