org.eclipse.xtext.ui.codetemplates.ui.highlighting
Class TemplatesHighlightingConfiguration

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration
      extended by org.eclipse.xtext.ui.codetemplates.ui.highlighting.TemplatesHighlightingConfiguration
All Implemented Interfaces:
IHighlightingConfiguration

public class TemplatesHighlightingConfiguration
extends DefaultHighlightingConfiguration

Author:
Sebastian Zarnekow - Initial contribution and API

Field Summary
static java.lang.String TEMPLATE_BODY
           
 
Fields inherited from class org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration
COMMENT_ID, DEFAULT_ID, INVALID_TOKEN_ID, KEYWORD_ID, NUMBER_ID, PUNCTUATION_ID, STRING_ID
 
Constructor Summary
TemplatesHighlightingConfiguration()
           
 
Method Summary
 void configure(IHighlightingConfigurationAcceptor acceptor)
          This method is called by the framework and allows clients to register the default styles for the semantic highlighting stage.
 
Methods inherited from class org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration
commentTextStyle, defaultTextStyle, errorTextStyle, keywordTextStyle, numberTextStyle, punctuationTextStyle, stringTextStyle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATE_BODY

public static final java.lang.String TEMPLATE_BODY
See Also:
Constant Field Values
Constructor Detail

TemplatesHighlightingConfiguration

public TemplatesHighlightingConfiguration()
Method Detail

configure

public void configure(IHighlightingConfigurationAcceptor acceptor)
Description copied from interface: IHighlightingConfiguration
This method is called by the framework and allows clients to register the default styles for the semantic highlighting stage.

Specified by:
configure in interface IHighlightingConfiguration
Overrides:
configure in class DefaultHighlightingConfiguration
Parameters:
acceptor - the acceptor is used to announce the various default styles. It is never null.
See Also:
IHighlightingConfigurationAcceptor.acceptDefaultHighlighting(String, String, org.eclipse.xtext.ui.editor.utils.TextStyle)