de.cau.cs.kieler.core.annotations.text.ui
Class AnnotationsHighlightingConfiguration

java.lang.Object
  extended by org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration
      extended by de.cau.cs.kieler.core.annotations.text.ui.AnnotationsHighlightingConfiguration
All Implemented Interfaces:
org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfiguration
Direct Known Subclasses:
ActionsHighlightingConfiguration, KaomHighlightingConfiguration

public class AnnotationsHighlightingConfiguration
extends org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration

Custom IHighlightingConfiguration contributing to text editors of DSLs based on this Annotations language. Provides profile for key value annotations' keys highlighting.

Rating red

Field Summary
static String ANNOTATION_KEY
           
static String COMMENT_ANNOTATION
           
 
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
AnnotationsHighlightingConfiguration()
           
 
Method Summary
 org.eclipse.xtext.ui.editor.utils.TextStyle annotationKeyTextStyle()
           
 org.eclipse.xtext.ui.editor.utils.TextStyle commentAnnotationTextStyle()
           
 void configure(org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfigurationAcceptor acceptor)
           
 
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

ANNOTATION_KEY

public static final String ANNOTATION_KEY
See Also:
Constant Field Values

COMMENT_ANNOTATION

public static final String COMMENT_ANNOTATION
See Also:
Constant Field Values
Constructor Detail

AnnotationsHighlightingConfiguration

public AnnotationsHighlightingConfiguration()
Method Detail

configure

public void configure(org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfigurationAcceptor acceptor)
Specified by:
configure in interface org.eclipse.xtext.ui.editor.syntaxcoloring.IHighlightingConfiguration
Overrides:
configure in class org.eclipse.xtext.ui.editor.syntaxcoloring.DefaultHighlightingConfiguration

annotationKeyTextStyle

public org.eclipse.xtext.ui.editor.utils.TextStyle annotationKeyTextStyle()

commentAnnotationTextStyle

public org.eclipse.xtext.ui.editor.utils.TextStyle commentAnnotationTextStyle()