org.eclipse.xtext.xbase.jvmmodel
Class JvmLocationInFileProvider

java.lang.Object
  extended by org.eclipse.xtext.resource.DefaultLocationInFileProvider
      extended by org.eclipse.xtext.xbase.jvmmodel.JvmLocationInFileProvider
All Implemented Interfaces:
ILocationInFileProvider

public class JvmLocationInFileProvider
extends DefaultLocationInFileProvider

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
JvmLocationInFileProvider()
           
 
Method Summary
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)
           
 
Methods inherited from class org.eclipse.xtext.resource.DefaultLocationInFileProvider
createRegion, doGetLocationOfFeature, getIdentifierFeature, getLocationNodes, getLocationOfAttribute, getLocationOfContainmentReference, getLocationOfCrossReference, getTextRegion, isHidden, useKeyword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JvmLocationInFileProvider

public JvmLocationInFileProvider()
Method Detail

getFullTextRegion

public ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject element)
Specified by:
getFullTextRegion in interface ILocationInFileProvider
Overrides:
getFullTextRegion in class DefaultLocationInFileProvider

getFullTextRegion

public ITextRegion getFullTextRegion(org.eclipse.emf.ecore.EObject owner,
                                     org.eclipse.emf.ecore.EStructuralFeature feature,
                                     int indexInList)
Specified by:
getFullTextRegion in interface ILocationInFileProvider
Overrides:
getFullTextRegion in class DefaultLocationInFileProvider

getSignificantTextRegion

public ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject element)
Specified by:
getSignificantTextRegion in interface ILocationInFileProvider
Overrides:
getSignificantTextRegion in class DefaultLocationInFileProvider

getSignificantTextRegion

public ITextRegion getSignificantTextRegion(org.eclipse.emf.ecore.EObject owner,
                                            org.eclipse.emf.ecore.EStructuralFeature feature,
                                            int indexInList)
Specified by:
getSignificantTextRegion in interface ILocationInFileProvider
Overrides:
getSignificantTextRegion in class DefaultLocationInFileProvider

convertToSource

protected org.eclipse.emf.ecore.EObject convertToSource(org.eclipse.emf.ecore.EObject element)