001: /*******************************************************************************
002: * Copyright (c) 2007 IBM Corporation and others.
003: * All rights reserved. This program and the accompanying materials
004: * are made available under the terms of the Eclipse Public License v1.0
005: * which accompanies this distribution, and is available at
006: * http://www.eclipse.org/legal/epl-v10.html
007: *
008: * Contributors:
009: * IBM Corporation - initial API and implementation
010: *******************************************************************************/package org.eclipse.jdt.internal.ui;
011:
012: import org.eclipse.jdt.ui.JavaUI;
013: import org.eclipse.jdt.ui.PreferenceConstants;
014:
015: /**
016: * Defines the constants used in the <code>org.eclipse.ui.themes</code>
017: * extension contributed by this plug-in.
018: *
019: * @since 3.3
020: */
021: public interface IJavaThemeConstants {
022:
023: String ID_PREFIX = JavaUI.ID_PLUGIN + "."; //$NON-NLS-1$
024:
025: /**
026: * Theme constant for the color used to highlight matching brackets.
027: */
028: public final String EDITOR_MATCHING_BRACKETS_COLOR = ID_PREFIX
029: + PreferenceConstants.EDITOR_MATCHING_BRACKETS_COLOR;
030:
031: /**
032: * Theme constant for the color used to render multi-line comments.
033: */
034: public final String EDITOR_MULTI_LINE_COMMENT_COLOR = ID_PREFIX
035: + PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_COLOR;
036:
037: /**
038: * Theme constant for the color used to render java keywords.
039: */
040: public final String EDITOR_JAVA_KEYWORD_COLOR = ID_PREFIX
041: + PreferenceConstants.EDITOR_JAVA_KEYWORD_COLOR;
042:
043: /**
044: * A theme constant that holds the color used to render string constants.
045: */
046: public final String EDITOR_STRING_COLOR = ID_PREFIX
047: + PreferenceConstants.EDITOR_STRING_COLOR;
048:
049: /**
050: * A theme constant that holds the color used to render single line comments.
051: */
052: public final String EDITOR_SINGLE_LINE_COMMENT_COLOR = ID_PREFIX
053: + PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_COLOR;
054:
055: /**
056: * A theme constant that holds the color used to render operators.
057: */
058: public final String EDITOR_JAVA_OPERATOR_COLOR = ID_PREFIX
059: + PreferenceConstants.EDITOR_JAVA_OPERATOR_COLOR;
060:
061: /**
062: * A theme constant that holds the color used to render java default text.
063: */
064: public final String EDITOR_JAVA_DEFAULT_COLOR = ID_PREFIX
065: + PreferenceConstants.EDITOR_JAVA_DEFAULT_COLOR;
066:
067: /**
068: * A theme constant that holds the color used to render the 'return' keyword.
069: */
070: public final String EDITOR_JAVA_KEYWORD_RETURN_COLOR = ID_PREFIX
071: + PreferenceConstants.EDITOR_JAVA_KEYWORD_RETURN_COLOR;
072:
073: /**
074: * A theme constant that holds the color used to render javadoc keywords.
075: */
076: public final String EDITOR_JAVADOC_KEYWORD_COLOR = ID_PREFIX
077: + PreferenceConstants.EDITOR_JAVADOC_KEYWORD_COLOR;
078:
079: /**
080: * A theme constant that holds the color used to render javadoc tags.
081: */
082: public final String EDITOR_JAVADOC_TAG_COLOR = ID_PREFIX
083: + PreferenceConstants.EDITOR_JAVADOC_TAG_COLOR;
084:
085: /**
086: * A theme constant that holds the color used to render brackets.
087: */
088: public final String EDITOR_JAVA_BRACKET_COLOR = ID_PREFIX
089: + PreferenceConstants.EDITOR_JAVA_BRACKET_COLOR;
090:
091: /**
092: * A theme constant that holds the color used to render task tags.
093: */
094: public final String EDITOR_TASK_TAG_COLOR = ID_PREFIX
095: + PreferenceConstants.EDITOR_TASK_TAG_COLOR;
096:
097: /**
098: * A theme constant that holds the color used to render javadoc links.
099: */
100: public final String EDITOR_JAVADOC_LINKS_COLOR = ID_PREFIX
101: + PreferenceConstants.EDITOR_JAVADOC_LINKS_COLOR;
102:
103: /**
104: * A theme constant that holds the color used to render javadoc default text.
105: */
106: public final String EDITOR_JAVADOC_DEFAULT_COLOR = ID_PREFIX
107: + PreferenceConstants.EDITOR_JAVADOC_DEFAULT_COLOR;
108:
109: /**
110: * A theme constant that holds the background color used in the code assist selection dialog.
111: */
112: public final String CODEASSIST_PROPOSALS_BACKGROUND = ID_PREFIX
113: + PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND;
114:
115: /**
116: * A theme constant that holds the foreground color used in the code assist selection dialog.
117: */
118: public final String CODEASSIST_PROPOSALS_FOREGROUND = ID_PREFIX
119: + PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND;
120:
121: /**
122: * A theme constant that holds the background color used for parameter hints.
123: */
124: public final String CODEASSIST_PARAMETERS_BACKGROUND = ID_PREFIX
125: + PreferenceConstants.CODEASSIST_PARAMETERS_BACKGROUND;
126:
127: /**
128: * A theme constant that holds the foreground color used in the code assist selection dialog.
129: */
130: public final String CODEASSIST_PARAMETERS_FOREGROUND = ID_PREFIX
131: + PreferenceConstants.CODEASSIST_PARAMETERS_FOREGROUND;
132:
133: /**
134: * Theme constant for the background color used in the code assist selection dialog to mark replaced code.
135: */
136: public final String CODEASSIST_REPLACEMENT_BACKGROUND = ID_PREFIX
137: + PreferenceConstants.CODEASSIST_REPLACEMENT_BACKGROUND;
138:
139: /**
140: * Theme constant for the foreground color used in the code
141: * assist selection dialog to mark replaced code.
142: */
143: public final String CODEASSIST_REPLACEMENT_FOREGROUND = ID_PREFIX
144: + PreferenceConstants.CODEASSIST_REPLACEMENT_FOREGROUND;
145:
146: /**
147: * Theme constant for the color used to render values in a properties file.
148: */
149: String PROPERTIES_FILE_COLORING_VALUE = ID_PREFIX
150: + PreferenceConstants.PROPERTIES_FILE_COLORING_VALUE;
151:
152: /**
153: * Theme constant for the color used to render keys in a properties file.
154: */
155: String PROPERTIES_FILE_COLORING_KEY = ID_PREFIX
156: + PreferenceConstants.PROPERTIES_FILE_COLORING_KEY;
157:
158: /**
159: * Theme constant for the color used to render arguments in a properties file.
160: */
161: String PROPERTIES_FILE_COLORING_ARGUMENT = ID_PREFIX
162: + PreferenceConstants.PROPERTIES_FILE_COLORING_ARGUMENT;
163:
164: /**
165: * Theme constant for the color used to render assignments in a properties file.
166: */
167: String PROPERTIES_FILE_COLORING_ASSIGNMENT = ID_PREFIX
168: + PreferenceConstants.PROPERTIES_FILE_COLORING_ASSIGNMENT;
169:
170: /**
171: * Theme constant for the color used to render comments in a properties file.
172: */
173: String PROPERTIES_FILE_COLORING_COMMENT = ID_PREFIX
174: + PreferenceConstants.PROPERTIES_FILE_COLORING_COMMENT;
175:
176: }
|