public class XbaseHighlightingConfiguration extends DefaultHighlightingConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ANNOTATION |
static java.lang.String |
DEPRECATED_MEMBERS |
static java.lang.String |
EXTENSION_METHOD_INVOCATION |
static java.lang.String |
FIELD |
static java.lang.String |
STATIC_FIELD |
static java.lang.String |
STATIC_METHOD_INVOCATION |
COMMENT_ID, DEFAULT_ID, INVALID_TOKEN_ID, KEYWORD_ID, NUMBER_ID, PUNCTUATION_ID, STRING_ID, TASK_ID
Constructor and Description |
---|
XbaseHighlightingConfiguration() |
Modifier and Type | Method and Description |
---|---|
TextStyle |
annotation() |
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 |
deprecatedMembers() |
TextStyle |
extensionMethodInvocation() |
TextStyle |
field() |
TextStyle |
staticField() |
TextStyle |
staticMethodInvocation() |
commentTextStyle, defaultTextStyle, errorTextStyle, keywordTextStyle, numberTextStyle, punctuationTextStyle, stringTextStyle, taskTextStyle
public static final java.lang.String STATIC_METHOD_INVOCATION
public static final java.lang.String STATIC_FIELD
public static final java.lang.String FIELD
public static final java.lang.String ANNOTATION
public static final java.lang.String EXTENSION_METHOD_INVOCATION
public static final java.lang.String DEPRECATED_MEMBERS
public void configure(IHighlightingConfigurationAcceptor acceptor)
IHighlightingConfiguration
configure
in interface IHighlightingConfiguration
configure
in class DefaultHighlightingConfiguration
acceptor
- the acceptor is used to announce the various default styles. It is never null
.IHighlightingConfigurationAcceptor.acceptDefaultHighlighting(String, String, org.eclipse.xtext.ui.editor.utils.TextStyle)
public TextStyle staticMethodInvocation()
public TextStyle staticField()
public TextStyle field()
public TextStyle annotation()
public TextStyle extensionMethodInvocation()
public TextStyle deprecatedMembers()