@NonNullByDefault
public interface ILocationInFileProviderExtension
ILocationInFileProvider to
 allow clients to query for a region with more fine grained criteria.| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
ILocationInFileProviderExtension.RegionDescription
Describes the kind of region that is queried. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ITextRegion | 
getTextRegion(org.eclipse.emf.ecore.EObject object,
             org.eclipse.emf.ecore.EStructuralFeature feature,
             int indexInList,
             ILocationInFileProviderExtension.RegionDescription query)
Queries for parts of the text region that parts of the given object originate from. 
 | 
ITextRegion | 
getTextRegion(org.eclipse.emf.ecore.EObject object,
             ILocationInFileProviderExtension.RegionDescription query)
Queries for parts of the text region that the given object is originates from. 
 | 
@Nullable ITextRegion getTextRegion(org.eclipse.emf.ecore.EObject object, ILocationInFileProviderExtension.RegionDescription query)
object - the instance whose region should be returned.query - the hint about the requested range.null if the object does not have an associated text region.@Nullable ITextRegion getTextRegion(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList, ILocationInFileProviderExtension.RegionDescription query)
object - the instance whose region should be returned.feature - the feature that was set when the requested range was consumed by the parser.indexInList - the index in the list of feature values. -1 if all values should be considered.query - the hint about the requested range.null if the object does not have an associated text region.