org.eclipse.xtext.xtext.ui.editor.syntaxcoloring
Class SemanticHighlightingConfiguration

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

public class SemanticHighlightingConfiguration
extends DefaultHighlightingConfiguration

Author:
Sebastian Zarnekow - Initial contribution and API

Field Summary
static java.lang.String DATA_TYPE_RULE_ID
           
static java.lang.String NEVER_CALLED_RULE_ID
           
static java.lang.String RULE_DECLARATION_ID
           
static java.lang.String TYPE_REFERENCE_ID
           
static java.lang.String UNUSED_VALUE_ID
           
 
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
SemanticHighlightingConfiguration()
           
 
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.
 TextStyle dataTypeRule()
           
 TextStyle typeReference()
           
 TextStyle unusedRule()
           
 TextStyle unusedValue()
           
 
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

RULE_DECLARATION_ID

public static final java.lang.String RULE_DECLARATION_ID
See Also:
Constant Field Values

TYPE_REFERENCE_ID

public static final java.lang.String TYPE_REFERENCE_ID
See Also:
Constant Field Values

DATA_TYPE_RULE_ID

public static final java.lang.String DATA_TYPE_RULE_ID
See Also:
Constant Field Values

UNUSED_VALUE_ID

public static final java.lang.String UNUSED_VALUE_ID
See Also:
Constant Field Values

NEVER_CALLED_RULE_ID

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

SemanticHighlightingConfiguration

public SemanticHighlightingConfiguration()
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)

typeReference

public TextStyle typeReference()

dataTypeRule

public TextStyle dataTypeRule()

unusedValue

public TextStyle unusedValue()

unusedRule

public TextStyle unusedRule()