org.eclipse.xtext.common.types.ui.notification
Class TypeResourceDescription

java.lang.Object
  extended by org.eclipse.xtext.resource.impl.AbstractResourceDescription
      extended by org.eclipse.xtext.common.types.ui.notification.TypeResourceDescription
All Implemented Interfaces:
IResourceDescription, ISelectable

public class TypeResourceDescription
extends AbstractResourceDescription

Resource descriptions for Xtext's view on java types. It contains descriptions for members of the mirrored type. The members are indexed by their fully qualified name and not by signature.

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.IResourceDescription
IResourceDescription.Delta, IResourceDescription.Event, IResourceDescription.Manager
 
Field Summary
 
Fields inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription
lookup
 
Constructor Summary
TypeResourceDescription(org.eclipse.emf.common.util.URI uri, java.util.List<IEObjectDescription> exportedObjects)
           
 
Method Summary
protected  java.util.List<IEObjectDescription> computeExportedObjects()
           
 java.lang.Iterable<QualifiedName> getImportedNames()
           
 java.lang.Iterable<IReferenceDescription> getReferenceDescriptions()
           
 org.eclipse.emf.common.util.URI getURI()
           
 
Methods inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription
getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, getLookUp, getNormalizedURI, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeResourceDescription

public TypeResourceDescription(org.eclipse.emf.common.util.URI uri,
                               java.util.List<IEObjectDescription> exportedObjects)
Method Detail

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.

computeExportedObjects

protected java.util.List<IEObjectDescription> computeExportedObjects()
Specified by:
computeExportedObjects in class AbstractResourceDescription