Package com._1c.g5.v8.dt.ql.resource
Class QlEObjectAtOffsetHelper
- java.lang.Object
-
- org.eclipse.xtext.resource.EObjectAtOffsetHelper
-
- com._1c.g5.v8.dt.ql.resource.QlEObjectAtOffsetHelper
-
- Direct Known Subclasses:
RightQlEObjectAtOffsetHelper
public class QlEObjectAtOffsetHelper extends org.eclipse.xtext.resource.EObjectAtOffsetHelper
Specific to Ql implementation ofEObjectAtOffsetHelper
-
-
Constructor Summary
Constructors Constructor Description QlEObjectAtOffsetHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DbViewElement
findDbViewForTableFromSource(org.eclipse.emf.ecore.EObject obj)
Gets actualDbViewElement
for table from sourcesorg.eclipse.xtext.nodemodel.INode
getCrossReferenceNode(org.eclipse.xtext.resource.XtextResource resource, org.eclipse.xtext.util.ITextRegion region)
protected org.eclipse.emf.ecore.EObject
internalResolveElementAt(org.eclipse.xtext.resource.XtextResource resource, int offset, boolean containment)
org.eclipse.emf.ecore.EObject
resolveElementAt(org.eclipse.xtext.resource.XtextResource resource, int offset)
-
-
-
Method Detail
-
resolveElementAt
public org.eclipse.emf.ecore.EObject resolveElementAt(org.eclipse.xtext.resource.XtextResource resource, int offset)
- Overrides:
resolveElementAt
in classorg.eclipse.xtext.resource.EObjectAtOffsetHelper
- Returns:
- the declared or the referenced element next to the offset
-
getCrossReferenceNode
public org.eclipse.xtext.nodemodel.INode getCrossReferenceNode(org.eclipse.xtext.resource.XtextResource resource, org.eclipse.xtext.util.ITextRegion region)
- Overrides:
getCrossReferenceNode
in classorg.eclipse.xtext.resource.EObjectAtOffsetHelper
-
internalResolveElementAt
protected org.eclipse.emf.ecore.EObject internalResolveElementAt(org.eclipse.xtext.resource.XtextResource resource, int offset, boolean containment)
- Overrides:
internalResolveElementAt
in classorg.eclipse.xtext.resource.EObjectAtOffsetHelper
-
findDbViewForTableFromSource
protected DbViewElement findDbViewForTableFromSource(org.eclipse.emf.ecore.EObject obj)
Gets actualDbViewElement
for table from sources- Parameters:
obj
- actual semantic object, can't benull
- Returns:
- actual
DbViewElement
for table from sources ornull
ifDbViewElement
wasn't found
-
-