org.eclipse.xtext.xbase.ui.highlighting
Class XbaseHighlightingConfiguration

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration
      extended by org.eclipse.xtext.xbase.ui.highlighting.XbaseHighlightingConfiguration
All Implemented Interfaces:
IHighlightingConfiguration
Direct Known Subclasses:
XtendHighlightingConfiguration

public class XbaseHighlightingConfiguration
extends DefaultHighlightingConfiguration

Author:
Sven Efftinge - Initial contribution and API, Holger Schill

Field Summary
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
           
 
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
XbaseHighlightingConfiguration()
           
 
Method Summary
 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()
           
 
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

STATIC_METHOD_INVOCATION

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

STATIC_FIELD

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

FIELD

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

ANNOTATION

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

EXTENSION_METHOD_INVOCATION

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

DEPRECATED_MEMBERS

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

XbaseHighlightingConfiguration

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

staticMethodInvocation

public TextStyle staticMethodInvocation()

staticField

public TextStyle staticField()

field

public TextStyle field()

annotation

public TextStyle annotation()

extensionMethodInvocation

public TextStyle extensionMethodInvocation()

deprecatedMembers

public TextStyle deprecatedMembers()