Package tools.refinery.language.resource
Class ProblemResourceDescription
java.lang.Object
org.eclipse.xtext.resource.impl.AbstractResourceDescription
org.eclipse.xtext.resource.impl.DefaultResourceDescription
tools.refinery.language.resource.ProblemResourceDescription
- All Implemented Interfaces:
org.eclipse.xtext.resource.IResourceDescription
,org.eclipse.xtext.resource.ISelectable
public class ProblemResourceDescription
extends org.eclipse.xtext.resource.impl.DefaultResourceDescription
A resource description that takes
ProblemResourceDescriptionStrategy.SHADOWING_KEY
into account when
describing EObjects.
Based on DefaultResourceDescription
.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.IResourceDescription
org.eclipse.xtext.resource.IResourceDescription.CoarseGrainedEvent, org.eclipse.xtext.resource.IResourceDescription.Delta, org.eclipse.xtext.resource.IResourceDescription.Event, org.eclipse.xtext.resource.IResourceDescription.Manager
-
Field Summary
Fields inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription
lookup
-
Constructor Summary
ConstructorDescriptionProblemResourceDescription
(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy strategy) -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<org.eclipse.xtext.resource.IEObjectDescription> Based onDefaultResourceDescription.computeExportedObjects()
.protected org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescription
computeReferenceDescriptions, createEObject2ExportedEObjectsMap, findExportedContainerURI, getImportedNames, getReferenceDescriptions, getResource, getURI, toString
Methods inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription
getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, getNormalizedURI, isEmpty
-
Constructor Details
-
ProblemResourceDescription
public ProblemResourceDescription(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy strategy)
-
-
Method Details
-
computeExportedObjects
Based onDefaultResourceDescription.computeExportedObjects()
.- Overrides:
computeExportedObjects
in classorg.eclipse.xtext.resource.impl.DefaultResourceDescription
- Returns:
- The computed exported objects, taking shadowing into account.
-
getLookUp
protected org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp getLookUp()- Overrides:
getLookUp
in classorg.eclipse.xtext.resource.impl.DefaultResourceDescription
-