Package 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:
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
The color key for brackets in Java code (value"java_bracket"
).static final String
The color key for everything in Java code for which no other color is specified (value"java_default"
).static final String
The color key for Java keywords in Java code (value"java_keyword"
).static final String
The color key for keyword 'return' in Java code (value"java_keyword_return"
).static final String
Deprecated.replaced as of 3.1 by an equivalent semantic highlighting, seeSemanticHighlightings.METHOD
static final String
The color key for multi-line comments in Java code (value"java_multi_line_comment"
).static final String
The color key for operators in Java code (value"java_operator"
).static final String
The color key for single-line comments in Java code (value"java_single_line_comment"
).static final String
The color key for string and character literals in Java code (value"java_string"
).static final String
Deprecated.no longer used, replaced byJAVA_KEYWORD
static final String
The color key for everything in JavaDoc comments for which no other color is specified (value"java_doc_default"
).static final String
The color key for JavaDoc keywords (@foo
) in JavaDoc comments (value"java_doc_keyword"
).static final String
The color key for JavaDoc links ({foo}
) in JavaDoc comments (value"java_doc_link"
).static final String
The color key for HTML tags (<foo>
) in JavaDoc comments (value"java_doc_tag"
).static final String
Note: This constant is for internal use only.static final String
The color key for arguments in values in a properties file.static final String
The color key for assignment in a properties file.static final String
The color key for comments in a properties file (value"pf_coloring_comment"
).static final String
The color key for keys in a properties file (value"pf_coloring_key"
).static final String
The color key for values in a properties file (value"pf_coloring_value"
).static final String
The color key for task tags in java comments (value"java_comment_task_tag"
).
-
Field Details
-
PREFIX
Note: This constant is for internal use only. Clients should not use this constant. The prefix all color constants start with (value"java_"
).- See Also:
-
JAVA_MULTI_LINE_COMMENT
The color key for multi-line comments in Java code (value"java_multi_line_comment"
).- See Also:
-
JAVA_SINGLE_LINE_COMMENT
The color key for single-line comments in Java code (value"java_single_line_comment"
).- See Also:
-
JAVA_KEYWORD
The color key for Java keywords in Java code (value"java_keyword"
).- See Also:
-
JAVA_STRING
The color key for string and character literals in Java code (value"java_string"
).- See Also:
-
JAVA_METHOD_NAME
Deprecated.replaced as of 3.1 by an equivalent semantic highlighting, seeSemanticHighlightings.METHOD
The color key for method names in Java code (value"java_method_name"
).- Since:
- 3.0
- See Also:
-
JAVA_KEYWORD_RETURN
The color key for keyword 'return' in Java code (value"java_keyword_return"
).- Since:
- 3.0
- See Also:
-
JAVA_OPERATOR
The color key for operators in Java code (value"java_operator"
).- Since:
- 3.0
- See Also:
-
JAVA_BRACKET
The color key for brackets in Java code (value"java_bracket"
).- Since:
- 3.3
- See Also:
-
JAVA_DEFAULT
The color key for everything in Java code for which no other color is specified (value"java_default"
).- See Also:
-
JAVA_TYPE
Deprecated.no longer used, replaced byJAVA_KEYWORD
The color key for the Java built-in types such asint
andchar
in Java code (value"java_type"
).- See Also:
-
JAVA_ANNOTATION
Deprecated.replaced as of 3.2 by an equivalent semantic highlighting, seeSemanticHighlightings.ANNOTATION
The color key for annotations (value"java_annotation"
).- Since:
- 3.1
- See Also:
-
TASK_TAG
The color key for task tags in java comments (value"java_comment_task_tag"
).- Since:
- 2.1
- See Also:
-
JAVADOC_KEYWORD
The color key for JavaDoc keywords (@foo
) in JavaDoc comments (value"java_doc_keyword"
).- See Also:
-
JAVADOC_TAG
The color key for HTML tags (<foo>
) in JavaDoc comments (value"java_doc_tag"
).- See Also:
-
JAVADOC_LINK
The color key for JavaDoc links ({foo}
) in JavaDoc comments (value"java_doc_link"
).- See Also:
-
JAVADOC_DEFAULT
The color key for everything in JavaDoc comments for which no other color is specified (value"java_doc_default"
).- See Also:
-
PROPERTIES_FILE_COLORING_KEY
The color key for keys in a properties file (value"pf_coloring_key"
).- Since:
- 3.1
- See Also:
-
PROPERTIES_FILE_COLORING_COMMENT
The color key for comments in a properties file (value"pf_coloring_comment"
).- Since:
- 3.1
- See Also:
-
PROPERTIES_FILE_COLORING_VALUE
The color key for values in a properties file (value"pf_coloring_value"
).- Since:
- 3.1
- See Also:
-
PROPERTIES_FILE_COLORING_ASSIGNMENT
The color key for assignment in a properties file. (value"pf_coloring_assignment"
).- Since:
- 3.1
- See Also:
-
PROPERTIES_FILE_COLORING_ARGUMENT
The color key for arguments in values in a properties file. (value"pf_coloring_argument"
).- Since:
- 3.1
- See Also:
-
SemanticHighlightings.ANNOTATION