Package org.eclipse.xtext.resource
Interface ILocationInFileProvider
-
- All Known Implementing Classes:
DefaultLocationInFileProvider
,XtextLocationInFileProvider
public interface ILocationInFileProvider
DeliversITextRegion
s for model elements or feature settings. The significant text is the part of the text identifying the element, e.g. its name, as opposed to the full region which is the full text representing the element. In addition to this service, the extension interfaceILocationInFileProviderExtension
allows to query for the region that is spanned by anEObject
including its comments.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.xtext.util.ITextRegion
getFullTextRegion(org.eclipse.emf.ecore.EObject obj)
org.eclipse.xtext.util.ITextRegion
getFullTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)
org.eclipse.xtext.util.ITextRegion
getSignificantTextRegion(org.eclipse.emf.ecore.EObject obj)
org.eclipse.xtext.util.ITextRegion
getSignificantTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)
-
-
-
Method Detail
-
getSignificantTextRegion
org.eclipse.xtext.util.ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject obj)
-
getSignificantTextRegion
org.eclipse.xtext.util.ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)
-
getFullTextRegion
org.eclipse.xtext.util.ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject obj)
-
getFullTextRegion
org.eclipse.xtext.util.ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)
-
-