public interface ILocationInFileProvider
ITextRegion
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 interface ILocationInFileProviderExtension
allows to query
for the region that is spanned by an EObject
including its comments.Modifier and Type | Method and Description |
---|---|
ITextRegion |
getFullTextRegion(org.eclipse.emf.ecore.EObject obj) |
ITextRegion |
getFullTextRegion(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature,
int indexInList) |
ITextRegion |
getSignificantTextRegion(org.eclipse.emf.ecore.EObject obj) |
ITextRegion |
getSignificantTextRegion(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature,
int indexInList) |
ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject obj)
ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)
ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject obj)
ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)