org.eclipse.xtext.linking.impl
Class LinkingHelper

java.lang.Object
  extended by org.eclipse.xtext.linking.impl.LinkingHelper

public class LinkingHelper
extends java.lang.Object

Author:
Moritz Eysholdt - Initial contribution and API

Constructor Summary
LinkingHelper()
           
 
Method Summary
 java.lang.String getCrossRefNodeAsString(INode node, boolean convert)
           
 java.lang.String getRuleNameFrom(org.eclipse.emf.ecore.EObject grammarElement)
           
 void setValueConverter(IValueConverterService valueConverter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkingHelper

public LinkingHelper()
Method Detail

setValueConverter

public void setValueConverter(IValueConverterService valueConverter)

getRuleNameFrom

public java.lang.String getRuleNameFrom(org.eclipse.emf.ecore.EObject grammarElement)
Parameters:
grammarElement - may be any crossreferencable element, i.e. a keyword or a rulecall

getCrossRefNodeAsString

public java.lang.String getCrossRefNodeAsString(INode node,
                                                boolean convert)