Add field for external parser to pref page
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / IPreferenceConstants.java
index 88f3dd7..d40577c 100644 (file)
@@ -11,55 +11,93 @@ Contributors:
 **********************************************************************/
 package net.sourceforge.phpeclipse;
 
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-import net.sourceforge.phpeclipse.phpeditor.PHPDocumentProvider;
-import org.eclipse.core.resources.IWorkspace;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IPluginDescriptor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.MultiStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-//import org.eclipse.jdt.internal.ui.JavaStatusConstants;
-//import org.eclipse.jdt.internal.ui.JavaUIMessages;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-
 /**
  * The main plugin class to be used in the desktop.
  */
 public interface IPreferenceConstants {
-       public static final String LOCALHOST_PREF = "_localhost";
-       public static final String DOCUMENTROOT_PREF = "_documentroot";
-       public static final String USE_EXTERNAL_BROWSER_PREF = "_use_external_browser";
-       public static final String EXTERNAL_BROWSER_PREF = "_external_browser";
-       public static final String MYSQL_PREF = "_my_sql";
-       public static final String APACHE_START_PREF = "_apache_start";
-       public static final String APACHE_STOP_PREF = "_apache_stop";
-       public static final String APACHE_RESTART_PREF = "_apache_restart";
+  public static final String LOCALHOST_PREF = "_localhost";
+  public static final String DOCUMENTROOT_PREF = "_documentroot";
+  public static final String USE_EXTERNAL_BROWSER_PREF = "_use_external_browser";
+  public static final String EXTERNAL_BROWSER_PREF = "_external_browser";
+  public static final String MYSQL_PREF = "_my_sql";
+  public static final String APACHE_START_PREF = "_apache_start";
+  public static final String APACHE_STOP_PREF = "_apache_stop";
+  public static final String APACHE_RESTART_PREF = "_apache_restart";
   public static final String SHOW_OUTPUT_IN_CONSOLE = "_sho_output_in_console";
   public static final String EXTERNAL_PARSER_PREF = "_external_parser";
-
   public static final String PHP_PARSER_DEFAULT = "_php_parser_default";
   public static final String PHP_INTERNAL_PARSER = "_php_internal_parser";
   public static final String PHP_EXTERNAL_PARSER = "_php_external_parser";
   public static final String PHP_PARSE_ON_SAVE = "_php_parse_on_save";
-  
   public static final String PHP_MULTILINE_COMMENT = "_php_multilineComment";
+  public static final String PHP_MULTILINE_COMMENT_BOLD = "_php_multilineComment_bold";
+  public static final String PHP_MULTILINE_COMMENT_ITALIC = "_php_multilineComment_italic";
+  public static final String PHP_MULTILINE_COMMENT_UNDERLINE = "_php_multilineComment_underline";
   public static final String PHP_SINGLELINE_COMMENT = "_php_singlelineComment";
+  public static final String PHP_SINGLELINE_COMMENT_BOLD = "_php_singlelineComment_bold";
+  public static final String PHP_SINGLELINE_COMMENT_ITALIC = "_php_singlelineComment_italic";
+  public static final String PHP_SINGLELINE_COMMENT_UNDERLINE = "_php_singlelineComment_underline";
   public static final String PHP_KEYWORD = "_php_keyword";
+  public static final String PHP_KEYWORD_BOLD = "_php_keyword_bold";
+  public static final String PHP_KEYWORD_ITALIC = "_php_keyword_italic";
+  public static final String PHP_KEYWORD_UNDERLINE = "_php_keyword_underline";
   public static final String PHP_VARIABLE = "_php_variable";
+  public static final String PHP_VARIABLE_BOLD = "_php_variable_bold";
+  public static final String PHP_VARIABLE_ITALIC = "_php_variable_italic";
+  public static final String PHP_VARIABLE_UNDERLINE = "_php_variable_underline";
+  public static final String PHP_TYPE = "_php_type";
+  public static final String PHP_TYPE_BOLD = "_php_type_bold";
+  public static final String PHP_TYPE_ITALIC = "_php_type_italic";
+  public static final String PHP_TYPE_UNDERLINE = "_php_type_underline";
+  public static final String PHP_CONSTANT = "_php_constant";
+  public static final String PHP_CONSTANT_BOLD = "_php_constant_bold";
+  public static final String PHP_CONSTANT_ITALIC = "_php_constant_italic";
+  public static final String PHP_CONSTANT_UNDERLINE = "_php_constant_underline";
   public static final String PHP_FUNCTIONNAME = "_php_functionname";
+  public static final String PHP_FUNCTIONNAME_BOLD = "_php_functionname_bold";
+  public static final String PHP_FUNCTIONNAME_ITALIC = "_php_functionname_italic";
+  public static final String PHP_FUNCTIONNAME_UNDERLINE = "_php_functionname_underline";
   public static final String PHP_STRING = "_php_string";
+  public static final String PHP_STRING_BOLD = "_php_string_bold";
+  public static final String PHP_STRING_ITALIC = "_php_string_italic";
+  public static final String PHP_STRING_UNDERLINE = "_php_string_underline";
   public static final String PHP_DEFAULT = "_php_default";
-  
-  public static final String LINKED_POSITION_COLOR= "_linkedPositionColor";
-  
-  
+  public static final String PHP_DEFAULT_BOLD = "_php_default_bold";
+  public static final String PHP_DEFAULT_ITALIC = "_php_default_italic";
+  public static final String PHP_DEFAULT_UNDERLINE = "_php_default_underline";
+  public static final String LINKED_POSITION_COLOR = "_linkedPositionColor";
+  public static final String PHP_EDITOR_BACKGROUND = "_php_editor_background";
+  public static final String PHP_USERDEF_XMLFILE = "_userdef_xmlfile";
+
+  /*Language stuff  - under dev*/
+  public static final String RESOURCE_BUNDLE = "_php_editor_res_bundle"; //$NON-NLS-1$
+  public static final String LANGUAGE_DEFAULT = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_en_GB";
+  public static final String RESOURCE_BUNDLE_DE = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_DE";
+  public static final String RESOURCE_BUNDLE_FR = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_FR";
+  public static final String RESOURCE_BUNDLE_ES = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_es_ES";
+  public static final String RESOURCE_BUNDLE_EN_GB = "net.sourceforge.phpeclipse.newPHPPreferencesMessages_en_GB";
+
+  public static final String FORMATTER_TAB_SIZE = "_formatter_tab_size";
+  public static final String SPACES_FOR_TABS = "_formatter_tab_size";
+
+  public static final String EDITOR_BOLD_SUFFIX = "_editor_bold_suffix";
+  /** Preference key for showing the line number ruler */
+  public final static String LINE_NUMBER_RULER = "_lineNumberRuler"; //$NON-NLS-1$
+  /** Preference key for the foreground color of the line numbers */
+  public final static String LINE_NUMBER_COLOR = "_lineNumberColor"; //$NON-NLS-1$
+
+  public final static String PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT = "_defaultBackgroundColor"; //$NON-NLS-1$
+  public final static String PREFERENCE_COLOR_BACKGROUND = "backgroundColor"; //$NON-NLS-1$
+
+  /** Preference key for content assist proposal color */
+  public final static String PROPOSALS_FOREGROUND = "content_assist_proposals_foreground"; //$NON-NLS-1$
+  /** Preference key for content assist proposal color */
+  public final static String PROPOSALS_BACKGROUND = "content_assist_proposals_background"; //$NON-NLS-1$
+  public static final String EDITOR_EVALUTE_TEMPORARY_PROBLEMS = null;
+  public static final String EDITOR_CORRECTION_INDICATION = null;
+
+  public static final String PHP_OUTLINE_CLASS = "_php_outline_class"; //$NON-NLS-1$
+  public static final String PHP_OUTLINE_FUNC = "_php_outline_func"; //$NON-NLS-1$
+  public static final String PHP_OUTLINE_VAR = "_php_outline_var"; //$NON-NLS-1$
+
 }
\ No newline at end of file