1 /*******************************************************************************
2 * Copyright (c) 2000, 2002 International Business Machines Corp. and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 ******************************************************************************/
11 package net.sourceforge.phpdt.ui.text;
14 * Color keys used for syntax highlighting Java
15 * code and JavaDoc compliant comments.
16 * A <code>IColorManager</code> is responsible for mapping
17 * concrete colors to these keys.
19 * This interface declares static final fields only; it is not intended to be
25 public interface IJavaColorConstants {
28 * Note: This constant is for internal use only. Clients should not use this constant.
29 * The prefix all color constants start with.
31 String PREFIX= "php_"; //$NON-NLS-1$
33 /** The color key for multi-line comments in Java code. */
34 String JAVA_MULTI_LINE_COMMENT= "php_multi_line_comment"; //$NON-NLS-1$
35 /** The color key for single-line comments in Java code. */
36 String JAVA_SINGLE_LINE_COMMENT= "php_single_line_comment"; //$NON-NLS-1$
37 /** The color key for Java keywords in Java code. */
38 String JAVA_KEYWORD= "php_keyword"; //$NON-NLS-1$
39 /** The color key for string and character literals in Java code. */
40 String JAVA_STRING= "php_string"; //$NON-NLS-1$
41 /** The color key for everthing in Java code for which no other color is specified. */
42 String JAVA_DEFAULT= "php_default"; //$NON-NLS-1$
44 * The color key for the Java built-in types such as int and char in Java code.
45 * @deprecated no longer used, use <code>JAVA_KEYWORD</code> instead
47 String JAVA_TYPE= "php_type"; //$NON-NLS-1$
50 /** The color key for JavaDoc keywords (<code>@foo</code>) in JavaDoc comments. */
51 String JAVADOC_KEYWORD= "php_doc_keyword"; //$NON-NLS-1$
52 /** The color key for HTML tags (<code><foo></code>) in JavaDoc comments. */
53 String JAVADOC_TAG= "php_doc_tag"; //$NON-NLS-1$
54 /** The color key for JavaDoc links (<code>{foo}</code>) in JavaDoc comments. */
55 String JAVADOC_LINK= "php_doc_link"; //$NON-NLS-1$
56 /** The color key for everthing in JavaDoc comments for which no other color is specified. */
57 String JAVADOC_DEFAULT= "php_doc_default"; //$NON-NLS-1$