Class XbaseLocationInFileProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.resource.ILocationInFileProvider, org.eclipse.xtext.resource.ILocationInFileProviderExtension
    Direct Known Subclasses:
    JvmLocationInFileProvider

    public class XbaseLocationInFileProvider
    extends org.eclipse.xtext.resource.DefaultLocationInFileProvider
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.ILocationInFileProviderExtension

        org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<org.eclipse.xtext.nodemodel.INode> getLocationNodes​(org.eclipse.emf.ecore.EObject obj)  
      protected org.eclipse.xtext.util.ITextRegion getLocationOfContainmentReference​(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, int indexInList, org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription query)  
      protected org.eclipse.xtext.util.ITextRegion getLocationOfCrossReference​(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, int indexInList, boolean isSignificant)  
      org.eclipse.xtext.util.ITextRegion getSignificantTextRegion​(org.eclipse.emf.ecore.EObject element)  
      protected boolean useKeyword​(org.eclipse.xtext.Keyword keyword, org.eclipse.emf.ecore.EObject context)  
      • Methods inherited from class org.eclipse.xtext.resource.DefaultLocationInFileProvider

        createRegion, createRegion, doGetLocationOfFeature, doGetLocationOfFeature, doGetTextRegion, findNodeFor, getFullTextRegion, getFullTextRegion, getIdentifierFeature, getLocationOfAttribute, getLocationOfContainmentReference, getSignificantTextRegion, getTextRegion, getTextRegion, getTextRegion, isHidden, isHidden, toZeroBasedRegion
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XbaseLocationInFileProvider

        public XbaseLocationInFileProvider()
    • Method Detail

      • getSignificantTextRegion

        public org.eclipse.xtext.util.ITextRegion getSignificantTextRegion​(org.eclipse.emf.ecore.EObject element)
        Specified by:
        getSignificantTextRegion in interface org.eclipse.xtext.resource.ILocationInFileProvider
        Overrides:
        getSignificantTextRegion in class org.eclipse.xtext.resource.DefaultLocationInFileProvider
      • getLocationOfCrossReference

        protected org.eclipse.xtext.util.ITextRegion getLocationOfCrossReference​(org.eclipse.emf.ecore.EObject owner,
                                                                                 org.eclipse.emf.ecore.EReference reference,
                                                                                 int indexInList,
                                                                                 boolean isSignificant)
        Overrides:
        getLocationOfCrossReference in class org.eclipse.xtext.resource.DefaultLocationInFileProvider
      • getLocationOfContainmentReference

        protected org.eclipse.xtext.util.ITextRegion getLocationOfContainmentReference​(org.eclipse.emf.ecore.EObject owner,
                                                                                       org.eclipse.emf.ecore.EReference reference,
                                                                                       int indexInList,
                                                                                       org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription query)
        Overrides:
        getLocationOfContainmentReference in class org.eclipse.xtext.resource.DefaultLocationInFileProvider
      • getLocationNodes

        protected java.util.List<org.eclipse.xtext.nodemodel.INode> getLocationNodes​(org.eclipse.emf.ecore.EObject obj)
        Overrides:
        getLocationNodes in class org.eclipse.xtext.resource.DefaultLocationInFileProvider
      • useKeyword

        protected boolean useKeyword​(org.eclipse.xtext.Keyword keyword,
                                     org.eclipse.emf.ecore.EObject context)
        Overrides:
        useKeyword in class org.eclipse.xtext.resource.DefaultLocationInFileProvider