we now extend PHPSegmentWithChildren
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / IPreferenceConstants.java
index f2cc73b..c685210 100644 (file)
@@ -35,24 +35,51 @@ 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 SHOW_OUTPUT_IN_CONSOLE = "_sho_output_in_console";
-  public static final String EXTERNAL_PARSER_PREF = "_external_parser";
+  
+       public static final String LOCALHOST_PREF = "_localhost"; //$NON-NLS-1$
+       public static final String DOCUMENTROOT_PREF = "_documentroot"; //$NON-NLS-1$
+       public static final String USE_EXTERNAL_BROWSER_PREF = "_use_external_browser"; //$NON-NLS-1$
+       public static final String EXTERNAL_BROWSER_PREF = "_external_browser"; //$NON-NLS-1$
+       public static final String MYSQL_PREF = "_my_sql"; //$NON-NLS-1$
+       public static final String APACHE_START_PREF = "_apache_start"; //$NON-NLS-1$
+       public static final String APACHE_STOP_PREF = "_apache_stop"; //$NON-NLS-1$
+       public static final String APACHE_RESTART_PREF = "_apache_restart"; //$NON-NLS-1$
+  public static final String SHOW_OUTPUT_IN_CONSOLE = "_sho_output_in_console"; //$NON-NLS-1$
+  public static final String EXTERNAL_PARSER_PREF = "_external_parser"; //$NON-NLS-1$
 
-  public static final String PHP_MULTILINE_COMMENT = "_php_multilineComment";
-  public static final String PHP_SINGLELINE_COMMENT = "_php_singlelineComment";
-  public static final String PHP_KEYWORD = "_php_keyword";
-  public static final String PHP_VARIABLE = "_php_variable";
-  public static final String PHP_FUNCTIONNAME = "_php_functionname";
-  public static final String PHP_STRING = "_php_string";
-  public static final String PHP_DEFAULT = "_php_default";
+  public static final String PHP_PARSER_DEFAULT = "_php_parser_default"; //$NON-NLS-1$
+  public static final String PHP_INTERNAL_PARSER = "_php_internal_parser"; //$NON-NLS-1$
+  public static final String PHP_EXTERNAL_PARSER = "_php_external_parser"; //$NON-NLS-1$
+  public static final String PHP_PARSE_ON_SAVE = "_php_parse_on_save"; //$NON-NLS-1$
+  
+  public static final String PHP_MULTILINE_COMMENT = "_php_multilineComment"; //$NON-NLS-1$
+  public static final String PHP_SINGLELINE_COMMENT = "_php_singlelineComment"; //$NON-NLS-1$
+  public static final String PHP_KEYWORD = "_php_keyword"; //$NON-NLS-1$
+  public static final String PHP_VARIABLE = "_php_variable"; //$NON-NLS-1$
+  public static final String PHP_FUNCTIONNAME = "_php_functionname"; //$NON-NLS-1$
+  public static final String PHP_STRING = "_php_string"; //$NON-NLS-1$
+  public static final String PHP_DEFAULT = "_php_default"; //$NON-NLS-1$
+  
+  public static final String LINKED_POSITION_COLOR= "_linkedPositionColor"; //$NON-NLS-1$
+  
+  /** 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 FORMATTER_TAB_SIZE= "_formatterTabSize"; //$NON-NLS-1$
+  public final static String SPACES_FOR_TABS = "false";
   
+  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 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