org.eclipse.xtext.builder.builderState
Class ResourceDescriptionsData
java.lang.Object
org.eclipse.xtext.resource.impl.AbstractCompoundSelectable
org.eclipse.xtext.builder.builderState.ResourceDescriptionsData
- All Implemented Interfaces:
- ISelectable
public class ResourceDescriptionsData
- extends AbstractCompoundSelectable
- Author:
- Sebastian Zarnekow - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceDescriptionsData
public ResourceDescriptionsData(java.lang.Iterable<IResourceDescription> descriptions)
ResourceDescriptionsData
protected ResourceDescriptionsData(java.util.Map<org.eclipse.emf.common.util.URI,IResourceDescription> resourceDescriptionMap,
com.google.common.collect.Multimap<QualifiedName,IResourceDescription> lookupMap)
copy
public ResourceDescriptionsData copy()
getAllResourceDescriptions
public java.lang.Iterable<IResourceDescription> getAllResourceDescriptions()
getResourceDescription
public IResourceDescription getResourceDescription(org.eclipse.emf.common.util.URI uri)
removeDescription
public void removeDescription(org.eclipse.emf.common.util.URI uri)
getExportedObjects
public java.lang.Iterable<IEObjectDescription> getExportedObjects(org.eclipse.emf.ecore.EClass type,
QualifiedName qualifiedName,
boolean ignoreCase)
- Specified by:
getExportedObjects
in interface ISelectable
- Overrides:
getExportedObjects
in class AbstractCompoundSelectable
- Returns:
- all elements which match the given qualified name and type. May not be
null
.
getExportedObjectsByObject
public java.lang.Iterable<IEObjectDescription> getExportedObjectsByObject(org.eclipse.emf.ecore.EObject object)
- Specified by:
getExportedObjectsByObject
in interface ISelectable
- Overrides:
getExportedObjectsByObject
in class AbstractCompoundSelectable
- Returns:
- all elements which match the given instance. May not be
null
.
getSelectables
protected java.lang.Iterable<IResourceDescription> getSelectables()
- Specified by:
getSelectables
in class AbstractCompoundSelectable
getAllURIs
public java.util.Set<org.eclipse.emf.common.util.URI> getAllURIs()
addDescription
public void addDescription(org.eclipse.emf.common.util.URI uri,
IResourceDescription newDescription)