de.cau.cs.kieler.synccharts.text.kits.ui
Class KitsAntlrTokenToAttributeIdMapper

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AbstractAntlrTokenToAttributeIdMapper
      extended by org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.DefaultAntlrTokenToAttributeIdMapper
          extended by de.cau.cs.kieler.synccharts.text.kits.ui.KitsAntlrTokenToAttributeIdMapper

public class KitsAntlrTokenToAttributeIdMapper
extends org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.DefaultAntlrTokenToAttributeIdMapper

Custom AbstractAntlrTokenToAttributeIdMapper contributing to the Kits editor. Defines custom mappings of keywords and terminals to highlighting configurations.

Rating red

Constructor Summary
KitsAntlrTokenToAttributeIdMapper()
           
 
Method Summary
protected  String calculateId(String tokenName, int tokenType)
           
 
Methods inherited from class org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.AbstractAntlrTokenToAttributeIdMapper
getId, initIds, setTokenDefProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KitsAntlrTokenToAttributeIdMapper

public KitsAntlrTokenToAttributeIdMapper()
Method Detail

calculateId

protected String calculateId(String tokenName,
                             int tokenType)
Overrides:
calculateId in class org.eclipse.xtext.ui.editor.syntaxcoloring.antlr.DefaultAntlrTokenToAttributeIdMapper