Interface ILocationInFileProvider

  • All Known Implementing Classes:
    DefaultLocationInFileProvider, XtextLocationInFileProvider

    public interface ILocationInFileProvider
    Delivers ITextRegions for model elements or feature settings. The significant text is the part of the text identifying the element, e.g. its name, as opposed to the full region which is the full text representing the element. In addition to this service, the extension interface ILocationInFileProviderExtension allows to query for the region that is spanned by an EObject including its comments.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.eclipse.xtext.util.ITextRegion getFullTextRegion​(org.eclipse.emf.ecore.EObject obj)  
      org.eclipse.xtext.util.ITextRegion getFullTextRegion​(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)  
      org.eclipse.xtext.util.ITextRegion getSignificantTextRegion​(org.eclipse.emf.ecore.EObject obj)  
      org.eclipse.xtext.util.ITextRegion getSignificantTextRegion​(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)