protected static class AbstractProjectAwareResourceDescriptionsProvider.FilteringResourceDescriptions extends java.lang.Object implements IResourceDescriptions
IResourceDescriptions.IContextAware, IResourceDescriptions.NullImpl
Constructor and Description |
---|
AbstractProjectAwareResourceDescriptionsProvider.FilteringResourceDescriptions(IResourceDescriptions delegate,
com.google.common.base.Predicate<org.eclipse.emf.common.util.URI> filter) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IResourceDescription> |
getAllResourceDescriptions() |
protected IResourceDescriptions |
getDelegate() |
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) |
protected com.google.common.base.Predicate<org.eclipse.emf.common.util.URI> |
getFilter() |
IResourceDescription |
getResourceDescription(org.eclipse.emf.common.util.URI normalizedURI)
Returns the resource descriptions for the given URI.
|
boolean |
isEmpty()
Clients may want to check the selectable to skip its processing in case it is empty.
|
public AbstractProjectAwareResourceDescriptionsProvider.FilteringResourceDescriptions(IResourceDescriptions delegate, com.google.common.base.Predicate<org.eclipse.emf.common.util.URI> filter)
protected IResourceDescriptions getDelegate()
protected com.google.common.base.Predicate<org.eclipse.emf.common.util.URI> getFilter()
public java.lang.Iterable<IResourceDescription> getAllResourceDescriptions()
getAllResourceDescriptions
in interface IResourceDescriptions
public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI normalizedURI)
IResourceDescriptions
getResourceDescription
in interface IResourceDescriptions
public java.lang.Iterable<IEObjectDescription> getExportedObjects()
getExportedObjects
in interface ISelectable
null
.public java.lang.Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type, QualifiedName name, boolean ignoreCase)
getExportedObjects
in interface ISelectable
null
.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
getExportedObjectsByObject
in interface ISelectable
null
.public java.lang.Iterable<IEObjectDescription> getExportedObjectsByType(org.eclipse.emf.ecore.EClass type)
getExportedObjectsByType
in interface ISelectable
null
.public boolean isEmpty()
ISelectable
false
if it is too expensive to compute the actual result.isEmpty
in interface ISelectable
true
if the selectable does not provide any descriptions.