Eclipse JDT
2.1

org.eclipse.jdt.ui.text
Interface IJavaColorConstants


public interface IJavaColorConstants

Color keys used for syntax highlighting Java code and JavaDoc compliant comments. A IColorManager is responsible for mapping concrete colors to these keys.

This interface declares static final fields only; it is not intended to be implemented.

See Also:
IColorManager

Field Summary
static String JAVA_DEFAULT
          The color key for everthing in Java code for which no other color is specified (value "java_default").
static String JAVA_KEYWORD
          The color key for Java keywords in Java code (value "java_keyword").
static String JAVA_MULTI_LINE_COMMENT
          The color key for multi-line comments in Java code (value "java_multi_line_comment").
static String JAVA_SINGLE_LINE_COMMENT
          The color key for single-line comments in Java code (value "java_single_line_comment").
static String JAVA_STRING
          The color key for string and character literals in Java code (value "java_string").
static String JAVA_TYPE
          Deprecated. no longer used, use JAVA_KEYWORD instead
static String JAVADOC_DEFAULT
          The color key for everthing in JavaDoc comments for which no other color is specified (value "java_doc_default").
static String JAVADOC_KEYWORD
          The color key for JavaDoc keywords (@foo) in JavaDoc comments (value "java_doc_keyword").
static String JAVADOC_LINK
          The color key for JavaDoc links ({foo}) in JavaDoc comments (value "java_doc_link").
static String JAVADOC_TAG
          The color key for HTML tags (<foo>) in JavaDoc comments (value "java_doc_tag").
static String PREFIX
          Note: This constant is for internal use only.
static String TASK_TAG
          The color key for task tags in java comments (value "java_comment_task_tag").
 

Field Detail

PREFIX

public static final String PREFIX
Note: This constant is for internal use only. Clients should not use this constant. The prefix all color constants start with (value "java_").

JAVA_MULTI_LINE_COMMENT

public static final String JAVA_MULTI_LINE_COMMENT
The color key for multi-line comments in Java code (value "java_multi_line_comment").

JAVA_SINGLE_LINE_COMMENT

public static final String JAVA_SINGLE_LINE_COMMENT
The color key for single-line comments in Java code (value "java_single_line_comment").

JAVA_KEYWORD

public static final String JAVA_KEYWORD
The color key for Java keywords in Java code (value "java_keyword").

JAVA_STRING

public static final String JAVA_STRING
The color key for string and character literals in Java code (value "java_string").

JAVA_DEFAULT

public static final String JAVA_DEFAULT
The color key for everthing in Java code for which no other color is specified (value "java_default").

JAVA_TYPE

public static final String JAVA_TYPE
Deprecated. no longer used, use JAVA_KEYWORD instead

The color key for the Java built-in types such as int and char in Java code (value "java_type").

TASK_TAG

public static final String TASK_TAG
The color key for task tags in java comments (value "java_comment_task_tag").
Since:
2.1

JAVADOC_KEYWORD

public static final String JAVADOC_KEYWORD
The color key for JavaDoc keywords (@foo) in JavaDoc comments (value "java_doc_keyword").

JAVADOC_TAG

public static final String JAVADOC_TAG
The color key for HTML tags (<foo>) in JavaDoc comments (value "java_doc_tag").

JAVADOC_LINK

public static final String JAVADOC_LINK
The color key for JavaDoc links ({foo}) in JavaDoc comments (value "java_doc_link").

JAVADOC_DEFAULT

public static final String JAVADOC_DEFAULT
The color key for everthing in JavaDoc comments for which no other color is specified (value "java_doc_default").

Eclipse JDT
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.