Package org.eclipse.xtext.xbase.resource
Class XbaseLocationInFileProvider
- java.lang.Object
-
- org.eclipse.xtext.resource.DefaultLocationInFileProvider
-
- org.eclipse.xtext.xbase.resource.XbaseLocationInFileProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.resource.ILocationInFileProvider
,org.eclipse.xtext.resource.ILocationInFileProviderExtension
- Direct Known Subclasses:
JvmLocationInFileProvider
public class XbaseLocationInFileProvider extends org.eclipse.xtext.resource.DefaultLocationInFileProvider
-
-
Constructor Summary
Constructors Constructor Description XbaseLocationInFileProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<org.eclipse.xtext.nodemodel.INode>
getLocationNodes(org.eclipse.emf.ecore.EObject obj)
protected org.eclipse.xtext.util.ITextRegion
getLocationOfContainmentReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, int indexInList, org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription query)
protected org.eclipse.xtext.util.ITextRegion
getLocationOfCrossReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, int indexInList, boolean isSignificant)
org.eclipse.xtext.util.ITextRegion
getSignificantTextRegion(org.eclipse.emf.ecore.EObject element)
protected boolean
useKeyword(org.eclipse.xtext.Keyword keyword, org.eclipse.emf.ecore.EObject context)
-
Methods inherited from class org.eclipse.xtext.resource.DefaultLocationInFileProvider
createRegion, createRegion, doGetLocationOfFeature, doGetLocationOfFeature, doGetTextRegion, findNodeFor, getFullTextRegion, getFullTextRegion, getIdentifierFeature, getLocationOfAttribute, getLocationOfContainmentReference, getSignificantTextRegion, getTextRegion, getTextRegion, getTextRegion, isHidden, isHidden, toZeroBasedRegion
-
-
-
-
Method Detail
-
getSignificantTextRegion
public org.eclipse.xtext.util.ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject element)
- Specified by:
getSignificantTextRegion
in interfaceorg.eclipse.xtext.resource.ILocationInFileProvider
- Overrides:
getSignificantTextRegion
in classorg.eclipse.xtext.resource.DefaultLocationInFileProvider
-
getLocationOfCrossReference
protected org.eclipse.xtext.util.ITextRegion getLocationOfCrossReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, int indexInList, boolean isSignificant)
- Overrides:
getLocationOfCrossReference
in classorg.eclipse.xtext.resource.DefaultLocationInFileProvider
-
getLocationOfContainmentReference
protected org.eclipse.xtext.util.ITextRegion getLocationOfContainmentReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, int indexInList, org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription query)
- Overrides:
getLocationOfContainmentReference
in classorg.eclipse.xtext.resource.DefaultLocationInFileProvider
-
getLocationNodes
protected java.util.List<org.eclipse.xtext.nodemodel.INode> getLocationNodes(org.eclipse.emf.ecore.EObject obj)
- Overrides:
getLocationNodes
in classorg.eclipse.xtext.resource.DefaultLocationInFileProvider
-
useKeyword
protected boolean useKeyword(org.eclipse.xtext.Keyword keyword, org.eclipse.emf.ecore.EObject context)
- Overrides:
useKeyword
in classorg.eclipse.xtext.resource.DefaultLocationInFileProvider
-
-