de.cau.cs.kieler.synccharts.text.actions.ui
Class ActionsAntlrTokenToAttributeIdMapper

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.model.TokenTypeToStringMapper
      extended by org.eclipse.xtext.ui.editor.syntaxcoloring.AbstractAntlrTokenToAttributeIdMapper
          extended by org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper
              extended by de.cau.cs.kieler.synccharts.text.actions.ui.ActionsAntlrTokenToAttributeIdMapper

public class ActionsAntlrTokenToAttributeIdMapper
extends org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultAntlrTokenToAttributeIdMapper

Custom AbstractAntlrTokenToAttributeIdMapper contributing to the Kits editor. Defines custom mappings of keywords and terminals to highlighting configurations. The Actions specific stuff is used in the KITS-View, a plain actions editor is not provided.

Rating red

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

Constructor Detail

ActionsAntlrTokenToAttributeIdMapper

public ActionsAntlrTokenToAttributeIdMapper()
Method Detail

calculateId

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