Class DefaultLocationInFileProvider
- java.lang.Object
- 
- com._1c.g5.modeling.xtext.resource.DefaultLocationInFileProvider
 
- 
- All Implemented Interfaces:
- org.eclipse.xtext.resource.ILocationInFileProvider
 
 public class DefaultLocationInFileProvider extends Object implements org.eclipse.xtext.resource.ILocationInFileProvider Default implementation ofILocationInFileProviderforXtextXmlResource.This implementation doesn't discriminates significant and full region, it always returns full region. Clients can override. 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultLocationInFileProvider()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.xtext.util.ITextRegioncreateRegion(List<INode> nodes)protected org.eclipse.xtext.util.ITextRegiondoGetLocationOfFeature(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList, boolean isSignificant)org.eclipse.xtext.util.ITextRegiongetFullTextRegion(org.eclipse.emf.ecore.EObject obj)org.eclipse.xtext.util.ITextRegiongetFullTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)protected org.eclipse.xtext.util.ITextRegiongetLocationOfAttribute(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EAttribute attribute, int indexInList, boolean isSignificant)protected org.eclipse.xtext.util.ITextRegiongetLocationOfContainmentReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference feature, int indexInList, boolean isSignificant)protected org.eclipse.xtext.util.ITextRegiongetLocationOfCrossReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, int indexInList, boolean isSignificant)org.eclipse.xtext.util.ITextRegiongetSignificantTextRegion(org.eclipse.emf.ecore.EObject obj)org.eclipse.xtext.util.ITextRegiongetSignificantTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)protected org.eclipse.xtext.util.ITextRegiongetTextRegion(org.eclipse.emf.ecore.EObject obj, boolean isSignificant)
 
- 
- 
- 
Method Detail- 
getSignificantTextRegionpublic org.eclipse.xtext.util.ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject obj) - Specified by:
- getSignificantTextRegionin interface- org.eclipse.xtext.resource.ILocationInFileProvider
 
 - 
getFullTextRegionpublic org.eclipse.xtext.util.ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject obj) - Specified by:
- getFullTextRegionin interface- org.eclipse.xtext.resource.ILocationInFileProvider
 
 - 
getSignificantTextRegionpublic org.eclipse.xtext.util.ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)- Specified by:
- getSignificantTextRegionin interface- org.eclipse.xtext.resource.ILocationInFileProvider
 
 - 
getFullTextRegionpublic org.eclipse.xtext.util.ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)- Specified by:
- getFullTextRegionin interface- org.eclipse.xtext.resource.ILocationInFileProvider
 
 - 
getLocationOfCrossReferenceprotected org.eclipse.xtext.util.ITextRegion getLocationOfCrossReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, int indexInList, boolean isSignificant)
 - 
getLocationOfAttributeprotected org.eclipse.xtext.util.ITextRegion getLocationOfAttribute(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EAttribute attribute, int indexInList, boolean isSignificant)
 - 
getLocationOfContainmentReferenceprotected org.eclipse.xtext.util.ITextRegion getLocationOfContainmentReference(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference feature, int indexInList, boolean isSignificant)
 - 
doGetLocationOfFeatureprotected org.eclipse.xtext.util.ITextRegion doGetLocationOfFeature(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList, boolean isSignificant)
 - 
getTextRegionprotected org.eclipse.xtext.util.ITextRegion getTextRegion(org.eclipse.emf.ecore.EObject obj, boolean isSignificant)
 
- 
 
-