Package com._1c.g5.v8.dt.bsl.resource
Class BslResourceDescription
- java.lang.Object
-
- org.eclipse.xtext.resource.impl.AbstractResourceDescription
-
- org.eclipse.xtext.resource.impl.DefaultResourceDescription
-
- com._1c.g5.v8.dt.bsl.resource.BslResourceDescription
-
- All Implemented Interfaces:
org.eclipse.xtext.resource.IResourceDescription
,org.eclipse.xtext.resource.ISelectable
public class BslResourceDescription extends org.eclipse.xtext.resource.impl.DefaultResourceDescription
IResourceDescription
for Bsl module
-
-
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
-
-
Constructor Summary
Constructors Constructor Description BslResourceDescription(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy strategy, org.eclipse.xtext.util.IResourceScopeCache cache, BslImportedNamesReferenceDescriptionResolver importedNamesResolver)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<org.eclipse.xtext.naming.QualifiedName>
getImportedNames()
protected org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp
getLookUp()
Iterable<org.eclipse.xtext.resource.IReferenceDescription>
getReferenceDescriptions()
Iterable<org.eclipse.xtext.resource.IReferenceDescription>
getReferenceDescriptions(org.eclipse.xtext.util.CancelIndicator monitor)
Computes and gets actualIReferenceDescription
sboolean
isExportElementURI(org.eclipse.emf.common.util.URI targetURI)
Checks thattargetURI
corresponding to the exporting module element-
Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescription
computeExportedObjects, computeReferenceDescriptions, createEObject2ExportedEObjectsMap, findExportedContainerURI, getResource, getURI, toString
-
-
-
-
Constructor Detail
-
BslResourceDescription
public BslResourceDescription(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy strategy, org.eclipse.xtext.util.IResourceScopeCache cache, BslImportedNamesReferenceDescriptionResolver importedNamesResolver)
Constructor- Parameters:
resource
- actual resource, can't benull
strategy
- actualIDefaultResourceDescriptionStrategy
, can't benull
cache
- actualIResourceScopeCache
, can't benull
-
-
Method Detail
-
isExportElementURI
public boolean isExportElementURI(org.eclipse.emf.common.util.URI targetURI)
Checks thattargetURI
corresponding to the exporting module element- Parameters:
targetURI
- checking uri- Returns:
true
iftargetURI
corresponding to the exporting module element,false
otherwise
-
getImportedNames
public Iterable<org.eclipse.xtext.naming.QualifiedName> getImportedNames()
- Specified by:
getImportedNames
in interfaceorg.eclipse.xtext.resource.IResourceDescription
- Overrides:
getImportedNames
in classorg.eclipse.xtext.resource.impl.DefaultResourceDescription
-
getReferenceDescriptions
public Iterable<org.eclipse.xtext.resource.IReferenceDescription> getReferenceDescriptions()
- Specified by:
getReferenceDescriptions
in interfaceorg.eclipse.xtext.resource.IResourceDescription
- Overrides:
getReferenceDescriptions
in classorg.eclipse.xtext.resource.impl.DefaultResourceDescription
-
getReferenceDescriptions
public Iterable<org.eclipse.xtext.resource.IReferenceDescription> getReferenceDescriptions(org.eclipse.xtext.util.CancelIndicator monitor)
Computes and gets actualIReferenceDescription
s- Parameters:
monitor
-CancelIndicator
for canceling operation, can benull
- Returns:
- computed
IReferenceDescription
s, nevernull
-
getLookUp
protected org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp getLookUp()
- Overrides:
getLookUp
in classorg.eclipse.xtext.resource.impl.DefaultResourceDescription
-
-