org.eclipse.emf.mwe2.language.resource
Class MweLocationInFileProvider

java.lang.Object
  extended by org.eclipse.xtext.resource.DefaultLocationInFileProvider
      extended by org.eclipse.emf.mwe2.language.resource.MweLocationInFileProvider
All Implemented Interfaces:
org.eclipse.xtext.resource.ILocationInFileProvider, org.eclipse.xtext.resource.ILocationInFileProviderExtension

public class MweLocationInFileProvider
extends org.eclipse.xtext.resource.DefaultLocationInFileProvider

Author:
Sebastian Zarnekow - Initial contribution and API

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.ILocationInFileProviderExtension
org.eclipse.xtext.resource.ILocationInFileProviderExtension.RegionDescription
 
Constructor Summary
MweLocationInFileProvider()
           
 
Method Summary
protected  org.eclipse.emf.ecore.EStructuralFeature getIdentifierFeature(org.eclipse.emf.ecore.EObject obj)
           
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, getLocationNodes, getLocationOfAttribute, getLocationOfContainmentReference, getLocationOfContainmentReference, getLocationOfCrossReference, getSignificantTextRegion, 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

MweLocationInFileProvider

public MweLocationInFileProvider()
Method Detail

useKeyword

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

getIdentifierFeature

protected org.eclipse.emf.ecore.EStructuralFeature getIdentifierFeature(org.eclipse.emf.ecore.EObject obj)
Overrides:
getIdentifierFeature in class org.eclipse.xtext.resource.DefaultLocationInFileProvider