30bbe4fa1dbb1863b89ca8a774ef3d0da5fc1e15
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / IPreferenceConstants.java
1 /**********************************************************************
2  Copyright (c) 2000, 2002 IBM 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
7
8  Contributors:
9  IBM Corporation - Initial implementation
10  www.phpeclipse.de
11  **********************************************************************/
12 package net.sourceforge.phpeclipse;
13
14 import net.sourceforge.phpdt.internal.ui.JavaElementAdapterFactory;
15
16 /**
17  * Predefined prference constants
18  */
19 public interface IPreferenceConstants {
20   /**
21    * Preference key suffix for bold text style preference keys.
22    * 
23    * @since 2.1
24    */
25   public static final String EDITOR_BOLD_SUFFIX = "_bold"; //$NON-NLS-1$
26
27   /**
28    * Preference key suffix for italic text style preference keys.
29    * 
30    * @since 3.0
31    */
32   public static final String EDITOR_ITALIC_SUFFIX = "_italic"; //$NON-NLS-1$
33
34   //  public static final String LOCALHOST_PREF = "_localhost";
35   //  public static final String DOCUMENTROOT_PREF = "_documentroot";
36   public static final String XAMPP_START_PREF = "_xampp_start_pref";
37
38   public static final String XAMPP_STOP_PREF = "_xampp_stop_pref";
39
40   public static final String MYSQL_RUN_PREF = "_mysql_run_pref";
41
42   public static final String MYSQL_START_BACKGROUND = "_mysql_start_background";
43
44   public static final String MYSQL_PREF = "__mysql_start";
45
46   public static final String APACHE_RUN_PREF = "_apache_run_pref";
47
48   public static final String APACHE_START_BACKGROUND = "_apache_start_background";
49
50   public static final String APACHE_START_PREF = "__apache_start";
51
52   public static final String APACHE_STOP_BACKGROUND = "_apache_stop_background";
53
54   public static final String APACHE_STOP_PREF = "__apache_stop";
55
56   public static final String APACHE_RESTART_BACKGROUND = "_apache_restart_background";
57
58   public static final String APACHE_RESTART_PREF = "__apache_restart";
59
60   public static final String SHOW_OUTPUT_IN_CONSOLE = "_show_output_in_console";
61
62   public static final String PHP_RUN_PREF = "_php_run_pref";
63
64   public static final String EXTERNAL_PARSER_PREF = "_external_parser";
65
66   public static final String PHP_EXTENSION_PREFS = "_php_parser_extensions";
67
68   public static final String PHP_PARSER_DEFAULT = "_php_parser_default";
69
70   //  public static final String PHP_INTERNAL_PARSER = "_php_internal_parser";
71   //  public static final String PHP_EXTERNAL_PARSER = "_php_external_parser";
72   // public static final String PHP_PARSE_ON_SAVE = "_php_parse_on_save";
73   public static final String PHP_MULTILINE_COMMENT = "_php_multilineComment";
74
75   public static final String PHP_MULTILINE_COMMENT_BOLD = "_php_multilineComment_bold";
76
77   public static final String PHP_MULTILINE_COMMENT_ITALIC = "_php_multilineComment_italic";
78
79   public static final String PHP_MULTILINE_COMMENT_UNDERLINE = "_php_multilineComment_underline";
80
81   /**
82    * The color key for operators and brackets in PHP code (value <code>"__php_operator"</code>).
83    * 
84    * @since 3.0
85    */
86   public static final String PHP_OPERATOR = "__php_operator"; //$NON-NLS-1$
87
88   /**
89    * The color key for {} in PHP code (value <code>"__php_brace_operator"</code>).
90    * 
91    * @since 3.0
92    */
93   public static final String PHP_BRACE_OPERATOR = "__php_brace_operator"; //$NON-NLS-1$
94
95   /**
96    * A named preference that holds the color used to render operators and brackets.
97    * <p>
98    * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
99    * </p>
100    * 
101    * @see org.eclipse.jface.resource.StringConverter
102    * @see org.eclipse.jface.preference.PreferenceConverter
103    * @since 3.0
104    */
105   public final static String EDITOR_PHP_OPERATOR_COLOR = PHP_OPERATOR;
106
107   /**
108    * A named preference that controls whether operators and brackets are rendered in bold.
109    * <p>
110    * Value is of type <code>Boolean</code>.
111    * </p>
112    * 
113    * @since 3.0
114    */
115   public final static String EDITOR_PHP_OPERATOR_BOLD = PHP_OPERATOR + EDITOR_BOLD_SUFFIX;
116
117   /**
118    * A named preference that controls whether operators and brackets are rendered in italic.
119    * <p>
120    * Value is of type <code>Boolean</code>.
121    * </p>
122    * 
123    * @since 3.0
124    */
125   public final static String EDITOR_PHP_OPERATOR_ITALIC = PHP_OPERATOR + EDITOR_ITALIC_SUFFIX;
126
127   /**
128    * A named preference that holds the color used to render operators and brackets.
129    * <p>
130    * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
131    * </p>
132    * 
133    * @see org.eclipse.jface.resource.StringConverter
134    * @see org.eclipse.jface.preference.PreferenceConverter
135    * @since 3.0
136    */
137   public final static String EDITOR_PHP_BRACE_OPERATOR_COLOR = PHP_BRACE_OPERATOR;
138
139   /**
140    * A named preference that controls whether operators and brackets are rendered in bold.
141    * <p>
142    * Value is of type <code>Boolean</code>.
143    * </p>
144    * 
145    * @since 3.0
146    */
147   public final static String EDITOR_PHP_BRACE_OPERATOR_BOLD = PHP_BRACE_OPERATOR + EDITOR_BOLD_SUFFIX;
148
149   /**
150    * A named preference that controls whether operators and brackets are rendered in italic.
151    * <p>
152    * Value is of type <code>Boolean</code>.
153    * </p>
154    * 
155    * @since 3.0
156    */
157   public final static String EDITOR_PHP_BRACE_OPERATOR_ITALIC = PHP_BRACE_OPERATOR + EDITOR_ITALIC_SUFFIX;
158
159   /**
160    * The color key for keyword 'return' in PHP code (value <code>"__php_keyword_return"</code>).
161    * 
162    * @since 3.0
163    */
164   public static final String PHP_KEYWORD_RETURN = "__php_keyword_return"; //$NON-NLS-1$
165
166   /**
167    * A named preference that holds the color used to render the 'return' keyword.
168    * <p>
169    * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
170    * </p>
171    * 
172    * @see org.eclipse.jface.resource.StringConverter
173    * @see org.eclipse.jface.preference.PreferenceConverter
174    * @since 3.0
175    */
176   public final static String EDITOR_PHP_KEYWORD_RETURN_COLOR = PHP_KEYWORD_RETURN;
177
178   /**
179    * A named preference that controls whether 'return' keyword is rendered in bold.
180    * <p>
181    * Value is of type <code>Boolean</code>.
182    * </p>
183    * 
184    * @since 3.0
185    */
186   public final static String EDITOR_PHP_KEYWORD_RETURN_BOLD = PHP_KEYWORD_RETURN + EDITOR_BOLD_SUFFIX;
187
188   /**
189    * A named preference that controls whether 'return' keyword is rendered in italic.
190    * <p>
191    * Value is of type <code>Boolean</code>.
192    * </p>
193    * 
194    * @since 3.0
195    */
196   public final static String EDITOR_PHP_KEYWORD_RETURN_ITALIC = PHP_KEYWORD_RETURN + EDITOR_ITALIC_SUFFIX;
197
198   public static final String PHP_SINGLELINE_COMMENT = "_php_singlelineComment";
199
200   public static final String PHP_SINGLELINE_COMMENT_BOLD = "_php_singlelineComment_bold";//$NON-NLS-1$
201
202   public static final String PHP_SINGLELINE_COMMENT_ITALIC = "_php_singlelineComment_italic";//$NON-NLS-1$
203
204   public static final String PHP_SINGLELINE_COMMENT_UNDERLINE = "_php_singlelineComment_underline";//$NON-NLS-1$
205
206   public static final String PHP_TAG = "_php_tag";//$NON-NLS-1$
207
208   public static final String PHP_TAG_BOLD = "_php_tag_bold";//$NON-NLS-1$
209
210   public static final String PHP_TAG_ITALIC = "_php_tag_italic";//$NON-NLS-1$
211
212   public static final String PHP_TAG_UNDERLINE = "_php_tag_underline";//$NON-NLS-1$
213
214   public static final String PHP_KEYWORD = "_php_keyword";//$NON-NLS-1$
215
216   public static final String PHP_KEYWORD_BOLD = "_php_keyword_bold";//$NON-NLS-1$
217
218   public static final String PHP_KEYWORD_ITALIC = "_php_keyword_italic";//$NON-NLS-1$
219
220   public static final String PHP_KEYWORD_UNDERLINE = "_php_keyword_underline";//$NON-NLS-1$
221
222   public static final String PHP_VARIABLE = "_php_variable";//$NON-NLS-1$
223
224   public static final String PHP_VARIABLE_BOLD = "_php_variable_bold";//$NON-NLS-1$
225
226   public static final String PHP_VARIABLE_ITALIC = "_php_variable_italic";//$NON-NLS-1$
227
228   public static final String PHP_VARIABLE_UNDERLINE = "_php_variable_underline";//$NON-NLS-1$
229
230   public static final String PHP_TYPE = "_php_type";//$NON-NLS-1$
231
232   public static final String PHP_TYPE_BOLD = "_php_type_bold";//$NON-NLS-1$
233
234   public static final String PHP_TYPE_ITALIC = "_php_type_italic";//$NON-NLS-1$
235
236   public static final String PHP_TYPE_UNDERLINE = "_php_type_underline";//$NON-NLS-1$
237
238   public static final String PHP_CONSTANT = "_php_constant";//$NON-NLS-1$
239
240   public static final String PHP_CONSTANT_BOLD = "_php_constant_bold";//$NON-NLS-1$
241
242   public static final String PHP_CONSTANT_ITALIC = "_php_constant_italic";//$NON-NLS-1$
243
244   public static final String PHP_CONSTANT_UNDERLINE = "_php_constant_underline";//$NON-NLS-1$
245
246   public static final String PHP_FUNCTIONNAME = "_php_functionname";//$NON-NLS-1$
247
248   public static final String PHP_FUNCTIONNAME_BOLD = "_php_functionname_bold";//$NON-NLS-1$
249
250   public static final String PHP_FUNCTIONNAME_ITALIC = "_php_functionname_italic";//$NON-NLS-1$
251
252   public static final String PHP_FUNCTIONNAME_UNDERLINE = "_php_functionname_underline";//$NON-NLS-1$
253
254   public static final String PHP_STRING = "_php_string";//$NON-NLS-1$
255
256   public static final String PHP_STRING_BOLD = "_php_string_bold";
257
258   public static final String PHP_STRING_ITALIC = "_php_string_italic";
259
260   public static final String PHP_STRING_UNDERLINE = "_php_string_underline";
261
262   public static final String PHP_DEFAULT = "_php_default";
263
264   public static final String PHP_DEFAULT_BOLD = "_php_default_bold";
265
266   public static final String PHP_DEFAULT_ITALIC = "_php_default_italic";
267
268   public static final String PHP_DEFAULT_UNDERLINE = "_php_default_underline";
269
270   public static final String TASK_TAG = "_php_comment_task_tag"; //$NON-NLS-1$
271
272   public static final String TASK_TAG_BOLD = "_php_comment_task_tag_bold"; //$NON-NLS-1$
273
274   /**
275    * The color key for PHPDoc keywords (<code>@foo</code>) in PHPDoc comments.
276    */
277   public static final String PHPDOC_KEYWORD = "_php_doc_keyword"; //$NON-NLS-1$
278
279   public static final String PHPDOC_KEYWORD_BOLD = "_php_doc_keyword_bold";
280
281   public static final String PHPDOC_KEYWORD_ITALIC = "_php_doc_keyword_italic";
282
283   public static final String PHPDOC_KEYWORD_UNDERLINE = "_php_doc_keyword_underline";
284
285   /** The color key for HTML tags (<code>&lt;foo&gt;</code>) in PHPDoc comments. */
286   public static final String PHPDOC_TAG = "_php_doc_tag"; //$NON-NLS-1$
287
288   public static final String PHPDOC_TAG_BOLD = "_php_doc_tag_bold";
289
290   public static final String PHPDOC_TAG_ITALIC = "_php_doc_tag_italic";
291
292   public static final String PHPDOC_TAG_UNDERLINE = "_php_doc_tag_underline";
293
294   /** The color key for PHPDoc links (<code>{foo}</code>) in PHPDoc comments. */
295   public static final String PHPDOC_LINK = "_php_doc_link"; //$NON-NLS-1$
296
297   public static final String PHPDOC_LINK_BOLD = "_php_doc_link_bold";
298
299   public static final String PHPDOC_LINK_ITALIC = "_php_doc_link_italic";
300
301   public static final String PHPDOC_LINK_UNDERLINE = "_php_doc_link_underline";
302
303   /** The color key for everthing in PHPDoc comments for which no other color is specified. */
304   public static final String PHPDOC_DEFAULT = "_php_doc_default"; //$NON-NLS-1$
305
306   public static final String PHPDOC_DEFAULT_BOLD = "_php_doc_default_bold";
307
308   public static final String PHPDOC_DEFAULT_ITALIC = "_php_doc_default_italic";
309
310   public static final String PHPDOC_DEFAULT_UNDERLINE = "_php_doc_default_underline";
311
312   //  public static final String LINKED_POSITION_COLOR = "_linkedPositionColor";
313   //  public static final String PHP_EDITOR_BACKGROUND = "_php_editor_background";
314   public static final String PHP_USERDEF_XMLFILE = "_userdef_xmlfile";
315
316   /** Preference key for showing the line number ruler */
317   // public final static String LINE_NUMBER_RULER = "_lineNumberRuler"; //$NON-NLS-1$
318   /** Preference key for the foreground color of the line numbers */
319   // public final static String LINE_NUMBER_COLOR = "_lineNumberColor"; //$NON-NLS-1$
320   //  public final static String PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT = "_defaultBackgroundColor"; //$NON-NLS-1$
321   //  public final static String PREFERENCE_COLOR_BACKGROUND = "backgroundColor"; //$NON-NLS-1$
322   /** Preference key for content assist proposal color */
323   public final static String PROPOSALS_FOREGROUND = "content_assist_proposals_foreground"; //$NON-NLS-1$
324
325   /** Preference key for content assist proposal color */
326   public final static String PROPOSALS_BACKGROUND = "content_assist_proposals_background"; //$NON-NLS-1$
327
328   public static final String EDITOR_EVALUTE_TEMPORARY_PROBLEMS = null;
329
330   public static final String EDITOR_CORRECTION_INDICATION = null;
331
332   public static final String PHP_OBFUSCATOR_DEFAULT = "_php_obfuscator_default";
333   //  public static final String PHP_BOOKMARK_DEFAULT = "_php_bookmark_default";
334   //  public static final String PHP_LOCALHOST_PREF = "_php_localhost";
335   //  public static final String PHP_DOCUMENTROOT_PREF = "_php_documentroot";
336   //  
337   //  public static final String PHP_AUTO_PREVIEW_DEFAULT = "_auto_preview";
338   //  public static final String PHP_BRING_TO_TOP_PREVIEW_DEFAULT = "_bring_to_top_preview";
339   //  public static final String PHP_SHOW_HTML_FILES_LOCAL = "_show_html_files_local";
340 }