public class ResourceSetBasedResourceDescriptions extends AbstractCompoundSelectable implements IResourceDescriptions.IContextAware
IResourceDescriptions.IContextAware, IResourceDescriptions.NullImpl| Constructor and Description |
|---|
ResourceSetBasedResourceDescriptions() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<IResourceDescription> |
getAllResourceDescriptions() |
Iterable<IEObjectDescription> |
getExportedObjects() |
Iterable<IEObjectDescription> |
getExportedObjects(org.eclipse.emf.ecore.EClass type,
QualifiedName qualifiedName,
boolean ignoreCase) |
Iterable<IEObjectDescription> |
getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object) |
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 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) |
String |
toString() |
public ResourceSetBasedResourceDescriptions()
public void setRegistry(IResourceServiceProvider.Registry registry)
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
public Iterable<IResourceDescription> getAllResourceDescriptions()
getAllResourceDescriptions in interface IResourceDescriptionsprotected 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 Iterable<IEObjectDescription> getExportedObjects()
getExportedObjects in interface ISelectablegetExportedObjects in class AbstractCompoundSelectablenull.public Iterable<IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
getExportedObjectsByType in interface ISelectablegetExportedObjectsByType in class AbstractCompoundSelectablenull.public Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName qualifiedName, boolean ignoreCase)
getExportedObjects in interface ISelectablegetExportedObjects in class AbstractCompoundSelectablenull.public Iterable<IEObjectDescription> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
getExportedObjectsByObject in interface ISelectablegetExportedObjectsByObject in class AbstractCompoundSelectablenull.Copyright © 2015. All Rights Reserved.