public class LiveShadowedResourceDescriptions extends ResourceSetBasedResourceDescriptions implements IShadowedResourceDescriptions
IResourceDescriptions.IContextAware, IResourceDescriptions.IResourceSetAware, IResourceDescriptions.NullImpl| Constructor and Description |
|---|
LiveShadowedResourceDescriptions() |
| 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 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) |
IResourceDescriptions |
getGlobalDescriptions() |
IResourceDescriptions |
getLocalDescriptions() |
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 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.
|
protected boolean |
isExistingOrRenamedResourceURI(org.eclipse.emf.common.util.URI uri) |
boolean |
isShadowed(org.eclipse.emf.ecore.EClass type,
QualifiedName name,
boolean ignoreCase) |
protected java.lang.Iterable<IEObjectDescription> |
joinIterables(java.lang.Iterable<IEObjectDescription> liveDescriptions,
java.lang.Iterable<IEObjectDescription> persistentDescriptions) |
void |
setContext(org.eclipse.emf.common.notify.Notifier ctx) |
void |
setGlobalDescriptions(IResourceDescriptions globalDescriptions) |
void |
setLocalDescriptions(ResourceSetBasedResourceDescriptions localDescriptions) |
getData, getSelectables, setData, setRegistry, toStringpublic void setContext(org.eclipse.emf.common.notify.Notifier ctx)
setContext in interface IResourceDescriptions.IContextAwaresetContext in class ResourceSetBasedResourceDescriptionspublic IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
IResourceDescriptionsgetResourceDescription in interface IResourceDescriptionsgetResourceDescription in class ResourceSetBasedResourceDescriptionspublic java.lang.Iterable<IResourceDescription> getAllResourceDescriptions()
getAllResourceDescriptions in interface IResourceDescriptionsgetAllResourceDescriptions in class ResourceSetBasedResourceDescriptionspublic boolean isEmpty()
ISelectablefalse if it is too expensive to compute the actual result.isEmpty in interface ISelectableisEmpty in class ResourceSetBasedResourceDescriptionstrue if the selectable does not provide any descriptions.public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
getResourceSet in interface IResourceDescriptions.IResourceSetAwaregetResourceSet in class ResourceSetBasedResourceDescriptionsprotected boolean hasDescription(org.eclipse.emf.common.util.URI uri)
hasDescription in class ResourceSetBasedResourceDescriptionsprotected boolean isExistingOrRenamedResourceURI(org.eclipse.emf.common.util.URI uri)
public java.lang.Iterable<IEObjectDescription> getExportedObjects()
getExportedObjects in interface ISelectablegetExportedObjects in class ResourceSetBasedResourceDescriptionsnull.public java.lang.Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName name, boolean ignoreCase)
getExportedObjects in interface ISelectablegetExportedObjects in class ResourceSetBasedResourceDescriptionsnull.protected java.lang.Iterable<IEObjectDescription> joinIterables(java.lang.Iterable<IEObjectDescription> liveDescriptions, java.lang.Iterable<IEObjectDescription> persistentDescriptions)
public java.lang.Iterable<IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
getExportedObjectsByType in interface ISelectablegetExportedObjectsByType in class ResourceSetBasedResourceDescriptionsnull.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
getExportedObjectsByObject in interface ISelectablegetExportedObjectsByObject in class ResourceSetBasedResourceDescriptionsnull.public IResourceDescriptions getLocalDescriptions()
public IResourceDescriptions getGlobalDescriptions()
public void setGlobalDescriptions(IResourceDescriptions globalDescriptions)
public void setLocalDescriptions(ResourceSetBasedResourceDescriptions localDescriptions)
public boolean isShadowed(org.eclipse.emf.ecore.EClass type,
QualifiedName name,
boolean ignoreCase)
isShadowed in interface IShadowedResourceDescriptionsEObjectDescription exists that is shadowed