org.eclipse.xtext.ui.editor.syntaxcoloring
Class DefaultHighlightingConfiguration
java.lang.Object
org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration
- All Implemented Interfaces:
- IHighlightingConfiguration
- Direct Known Subclasses:
- SemanticHighlightingConfiguration, TemplatesHighlightingConfiguration, XbaseHighlightingConfiguration
public class DefaultHighlightingConfiguration
- extends java.lang.Object
- implements IHighlightingConfiguration
- Author:
- Jan Köhnlein - Initial contribution and API, Sebastian Zarnekow - Initial contribution and API
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEYWORD_ID
public static final java.lang.String KEYWORD_ID
- See Also:
- Constant Field Values
PUNCTUATION_ID
public static final java.lang.String PUNCTUATION_ID
- See Also:
- Constant Field Values
COMMENT_ID
public static final java.lang.String COMMENT_ID
- See Also:
- Constant Field Values
STRING_ID
public static final java.lang.String STRING_ID
- See Also:
- Constant Field Values
NUMBER_ID
public static final java.lang.String NUMBER_ID
- See Also:
- Constant Field Values
DEFAULT_ID
public static final java.lang.String DEFAULT_ID
- See Also:
- Constant Field Values
INVALID_TOKEN_ID
public static final java.lang.String INVALID_TOKEN_ID
- See Also:
- Constant Field Values
DefaultHighlightingConfiguration
public DefaultHighlightingConfiguration()
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
- 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)
defaultTextStyle
public TextStyle defaultTextStyle()
errorTextStyle
public TextStyle errorTextStyle()
numberTextStyle
public TextStyle numberTextStyle()
stringTextStyle
public TextStyle stringTextStyle()
commentTextStyle
public TextStyle commentTextStyle()
keywordTextStyle
public TextStyle keywordTextStyle()
punctuationTextStyle
public TextStyle punctuationTextStyle()