public class JvmLocationInFileProvider extends XbaseLocationInFileProvider
ILocationInFileProviderExtension.RegionDescription| Constructor and Description |
|---|
JvmLocationInFileProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.emf.ecore.EObject |
convertToSource(org.eclipse.emf.ecore.EObject element) |
ITextRegion |
getFullTextRegion(org.eclipse.emf.ecore.EObject element) |
ITextRegion |
getFullTextRegion(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature,
int indexInList) |
ITextRegion |
getSignificantTextRegion(org.eclipse.emf.ecore.EObject element) |
ITextRegion |
getSignificantTextRegion(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature,
int indexInList) |
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.
|
getLocationNodes, getLocationOfContainmentReference, getLocationOfCrossReference, useKeywordcreateRegion, createRegion, doGetLocationOfFeature, doGetLocationOfFeature, doGetTextRegion, findNodeFor, getIdentifierFeature, getLocationOfAttribute, getLocationOfContainmentReference, getTextRegion, isHidden, isHiddenpublic ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject element)
getFullTextRegion in interface ILocationInFileProvidergetFullTextRegion in class DefaultLocationInFileProviderpublic ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)
getFullTextRegion in interface ILocationInFileProvidergetFullTextRegion in class DefaultLocationInFileProviderpublic ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject element)
getSignificantTextRegion in interface ILocationInFileProvidergetSignificantTextRegion in class XbaseLocationInFileProviderpublic ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)
getSignificantTextRegion in interface ILocationInFileProvidergetSignificantTextRegion in class DefaultLocationInFileProvider@NonNullByDefault @Nullable public ITextRegion getTextRegion(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList, ILocationInFileProviderExtension.RegionDescription query)
ILocationInFileProviderExtensiongetTextRegion in interface ILocationInFileProviderExtensiongetTextRegion in class DefaultLocationInFileProviderobject - 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.@NonNullByDefault @Nullable public ITextRegion getTextRegion(org.eclipse.emf.ecore.EObject object, ILocationInFileProviderExtension.RegionDescription query)
ILocationInFileProviderExtensiongetTextRegion in interface ILocationInFileProviderExtensiongetTextRegion in class DefaultLocationInFileProviderobject - 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.protected org.eclipse.emf.ecore.EObject convertToSource(org.eclipse.emf.ecore.EObject element)