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
9 IBM Corporation - Initial implementation
10 Klaus Hartlage - www.eclipseproject.de
11 **********************************************************************/
12 package net.sourceforge.phpeclipse;
15 * The main plugin class to be used in the desktop.
17 public interface IPreferenceConstants {
18 public static final String LOCALHOST_PREF = "_localhost";
19 public static final String DOCUMENTROOT_PREF = "_documentroot";
20 public static final String USE_EXTERNAL_BROWSER_PREF = "_use_external_browser";
21 public static final String SHOW_EXTERNAL_PREVIEW_PREF = "_show_external_preview";
22 public static final String EXTERNAL_BROWSER_PREF = "_external_browser";
23 public static final String MYSQL_PREF = "_my_sql";
24 public static final String APACHE_START_PREF = "_apache_start";
25 public static final String APACHE_STOP_PREF = "_apache_stop";
26 public static final String APACHE_RESTART_PREF = "_apache_restart";
27 public static final String SHOW_OUTPUT_IN_CONSOLE = "_sho_output_in_console";
28 public static final String EXTERNAL_PARSER_PREF = "_external_parser";
29 public static final String PHP_PARSER_DEFAULT = "_php_parser_default";
30 public static final String PHP_INTERNAL_PARSER = "_php_internal_parser";
31 public static final String PHP_EXTERNAL_PARSER = "_php_external_parser";
32 public static final String PHP_PARSE_ON_SAVE = "_php_parse_on_save";
33 public static final String PHP_MULTILINE_COMMENT = "_php_multilineComment";
34 public static final String PHP_MULTILINE_COMMENT_BOLD = "_php_multilineComment_bold";
35 public static final String PHP_MULTILINE_COMMENT_ITALIC = "_php_multilineComment_italic";
36 public static final String PHP_MULTILINE_COMMENT_UNDERLINE = "_php_multilineComment_underline";
37 public static final String PHP_SINGLELINE_COMMENT = "_php_singlelineComment";
38 public static final String PHP_SINGLELINE_COMMENT_BOLD = "_php_singlelineComment_bold";
39 public static final String PHP_SINGLELINE_COMMENT_ITALIC = "_php_singlelineComment_italic";
40 public static final String PHP_SINGLELINE_COMMENT_UNDERLINE = "_php_singlelineComment_underline";
41 public static final String PHP_KEYWORD = "_php_keyword";
42 public static final String PHP_KEYWORD_BOLD = "_php_keyword_bold";
43 public static final String PHP_KEYWORD_ITALIC = "_php_keyword_italic";
44 public static final String PHP_KEYWORD_UNDERLINE = "_php_keyword_underline";
45 public static final String PHP_VARIABLE = "_php_variable";
46 public static final String PHP_VARIABLE_BOLD = "_php_variable_bold";
47 public static final String PHP_VARIABLE_ITALIC = "_php_variable_italic";
48 public static final String PHP_VARIABLE_UNDERLINE = "_php_variable_underline";
49 public static final String PHP_TYPE = "_php_type";
50 public static final String PHP_TYPE_BOLD = "_php_type_bold";
51 public static final String PHP_TYPE_ITALIC = "_php_type_italic";
52 public static final String PHP_TYPE_UNDERLINE = "_php_type_underline";
53 public static final String PHP_CONSTANT = "_php_constant";
54 public static final String PHP_CONSTANT_BOLD = "_php_constant_bold";
55 public static final String PHP_CONSTANT_ITALIC = "_php_constant_italic";
56 public static final String PHP_CONSTANT_UNDERLINE = "_php_constant_underline";
57 public static final String PHP_FUNCTIONNAME = "_php_functionname";
58 public static final String PHP_FUNCTIONNAME_BOLD = "_php_functionname_bold";
59 public static final String PHP_FUNCTIONNAME_ITALIC = "_php_functionname_italic";
60 public static final String PHP_FUNCTIONNAME_UNDERLINE = "_php_functionname_underline";
61 public static final String PHP_STRING = "_php_string";
62 public static final String PHP_STRING_BOLD = "_php_string_bold";
63 public static final String PHP_STRING_ITALIC = "_php_string_italic";
64 public static final String PHP_STRING_UNDERLINE = "_php_string_underline";
65 public static final String PHP_DEFAULT = "_php_default";
66 public static final String PHP_DEFAULT_BOLD = "_php_default_bold";
67 public static final String PHP_DEFAULT_ITALIC = "_php_default_italic";
68 public static final String PHP_DEFAULT_UNDERLINE = "_php_default_underline";
69 // public static final String LINKED_POSITION_COLOR = "_linkedPositionColor";
70 // public static final String PHP_EDITOR_BACKGROUND = "_php_editor_background";
71 public static final String PHP_USERDEF_XMLFILE = "_userdef_xmlfile";
73 // /** The color key for PHPDoc keywords (<code>@foo</code>) in PHPDoc comments. */
74 // public static final String PHPDOC_KEYWORD= "_php_doc_keyword"; //$NON-NLS-1$
75 // /** The color key for HTML tags (<code><foo></code>) in PHPDoc comments. */
76 // public static final String PHPDOC_TAG= "_php_doc_tag"; //$NON-NLS-1$
77 // /** The color key for PHPDoc links (<code>{foo}</code>) in PHPDoc comments. */
78 // public static final String PHPDOC_LINK= "_php_doc_link"; //$NON-NLS-1$
79 // /** The color key for everthing in PHPDoc comments for which no other color is specified. */
80 // public static final String PHPDOC_DEFAULT= "_php_doc_default"; //$NON-NLS-1$
82 /*Language stuff - under dev*/
83 public static final String RESOURCE_BUNDLE = "_php_editor_res_bundle"; //$NON-NLS-1$
84 public static final String LANGUAGE_DEFAULT = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_en_GB";
85 public static final String RESOURCE_BUNDLE_DE = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_DE";
86 public static final String RESOURCE_BUNDLE_FR = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_FR";
87 public static final String RESOURCE_BUNDLE_ES = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_es_ES";
88 public static final String RESOURCE_BUNDLE_EN_GB = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_en_GB";
90 //public static final String FORMATTER_TAB_SIZE = "_formatter_tab_size";
91 //public static final String SPACES_FOR_TABS = "_formatter_tab_size";
93 public static final String EDITOR_BOLD_SUFFIX = "_editor_bold_suffix";
94 /** Preference key for showing the line number ruler */
95 // public final static String LINE_NUMBER_RULER = "_lineNumberRuler"; //$NON-NLS-1$
96 /** Preference key for the foreground color of the line numbers */
97 // public final static String LINE_NUMBER_COLOR = "_lineNumberColor"; //$NON-NLS-1$
99 // public final static String PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT = "_defaultBackgroundColor"; //$NON-NLS-1$
100 // public final static String PREFERENCE_COLOR_BACKGROUND = "backgroundColor"; //$NON-NLS-1$
102 /** Preference key for content assist proposal color */
103 public final static String PROPOSALS_FOREGROUND = "content_assist_proposals_foreground"; //$NON-NLS-1$
104 /** Preference key for content assist proposal color */
105 public final static String PROPOSALS_BACKGROUND = "content_assist_proposals_background"; //$NON-NLS-1$
106 public static final String EDITOR_EVALUTE_TEMPORARY_PROBLEMS = null;
107 public static final String EDITOR_CORRECTION_INDICATION = null;
109 public static final String PHP_OUTLINE_CLASS = "_php_outline_class"; //$NON-NLS-1$
110 public static final String PHP_OUTLINE_FUNC = "_php_outline_func"; //$NON-NLS-1$
111 public static final String PHP_OUTLINE_VAR = "_php_outline_var"; //$NON-NLS-1$