org.eclipse.xtext.ui.editor
Class StatefulResourceDescription
java.lang.Object
org.eclipse.xtext.resource.impl.AbstractResourceDescription
org.eclipse.xtext.ui.editor.StatefulResourceDescription
- All Implemented Interfaces:
- IResourceDescription, ISelectable
public class StatefulResourceDescription
- extends AbstractResourceDescription
- 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 |
StatefulResourceDescription
public StatefulResourceDescription(IResourceDescription original,
com.google.inject.Provider<IResourceDescription> snapShotProvider)
copyExportedObjects
protected com.google.common.collect.ImmutableList<IEObjectDescription> copyExportedObjects(IResourceDescription original)
computeExportedObjects
protected java.util.List<IEObjectDescription> computeExportedObjects()
- Specified by:
computeExportedObjects
in class AbstractResourceDescription
getImportedNames
public java.lang.Iterable<QualifiedName> getImportedNames()
- Returns:
- the list of names the described resource depends depends on.
getReferenceDescriptions
public java.lang.Iterable<IReferenceDescription> getReferenceDescriptions()
- Returns:
- the list of all references contained in the underlying resource.
getURI
public org.eclipse.emf.common.util.URI getURI()
- Returns:
- the uri of the described resource. Will not return
null
.