|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@NonNullByDefault public interface ILocationInFileProviderExtension
Extends the functionality of the ILocationInFileProvider
to
allow clients to query for a region with more fine grained criteria.
Nested Class Summary | |
---|---|
static class |
ILocationInFileProviderExtension.RegionDescription
Describes the kind of region that is queried. |
Method Summary | |
---|---|
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. |
Method Detail |
---|
@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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |