inital plugin from webtools project
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / IPreferenceConstants.java
index a4c52bb..309f4c0 100644 (file)
@@ -31,8 +31,8 @@ public interface IPreferenceConstants {
         */
        public static final String EDITOR_ITALIC_SUFFIX= "_italic"; //$NON-NLS-1$
        
-  public static final String LOCALHOST_PREF = "_localhost";
-  public static final String DOCUMENTROOT_PREF = "_documentroot";
+//  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 SHOW_EXTERNAL_PREVIEW_PREF = "_show_external_preview";
   public static final String EXTERNAL_BROWSER_PREF = "_external_browser";
@@ -61,7 +61,14 @@ public interface IPreferenceConstants {
         * (value <code>"__php_operator"</code>).
         * @since 3.0
         */
-  public static final String PHP_OPERATOR= "__php_operator"; //$NON-NLS-1$
+  public static final String PHP_OPERATOR = "__php_operator"; //$NON-NLS-1$
+  
+  /** The color key for {} in PHP code
+        * (value <code>"__php_brace_operator"</code>).
+        * @since 3.0
+        */
+  public static final String PHP_BRACE_OPERATOR = "__php_brace_operator"; //$NON-NLS-1$
+
   /**
         * A named preference that holds the color used to render operators and brackets.
         * <p>
@@ -95,6 +102,39 @@ public interface IPreferenceConstants {
         */
        public final static String EDITOR_PHP_OPERATOR_ITALIC= PHP_OPERATOR + EDITOR_ITALIC_SUFFIX;
 
+       /**
+        * A named preference that holds the color used to render operators and brackets.
+        * <p>
+        * Value is of type <code>String</code>. A RGB color value encoded as a string
+        * using class <code>PreferenceConverter</code>
+        * </p>
+        * 
+        * @see org.eclipse.jface.resource.StringConverter
+        * @see org.eclipse.jface.preference.PreferenceConverter
+        * @since 3.0
+        */
+       public final static String EDITOR_PHP_BRACE_OPERATOR_COLOR= PHP_BRACE_OPERATOR; 
+
+       /**
+        * A named preference that controls whether operators and brackets are rendered in bold.
+        * <p>
+        * Value is of type <code>Boolean</code>.
+        * </p>
+        * 
+        * @since 3.0
+        */
+       public final static String EDITOR_PHP_BRACE_OPERATOR_BOLD= PHP_BRACE_OPERATOR + EDITOR_BOLD_SUFFIX;
+       
+       /**
+        * A named preference that controls whether operators and brackets are rendered in italic.
+        * <p>
+        * Value is of type <code>Boolean</code>.
+        * </p>
+        * 
+        * @since 3.0
+        */
+       public final static String EDITOR_PHP_BRACE_OPERATOR_ITALIC= PHP_BRACE_OPERATOR + EDITOR_ITALIC_SUFFIX;
+
   /** The color key for keyword 'return' in PHP code
         * (value <code>"__php_keyword_return"</code>).
         * @since 3.0
@@ -137,10 +177,10 @@ public interface IPreferenceConstants {
   public static final String PHP_SINGLELINE_COMMENT_BOLD = "_php_singlelineComment_bold";//$NON-NLS-1$
   public static final String PHP_SINGLELINE_COMMENT_ITALIC = "_php_singlelineComment_italic";//$NON-NLS-1$
   public static final String PHP_SINGLELINE_COMMENT_UNDERLINE = "_php_singlelineComment_underline";//$NON-NLS-1$
-       public static final String PHP_TAG = "_php_tag";//$NON-NLS-1$
-       public static final String PHP_TAG_BOLD = "_php_tag_bold";//$NON-NLS-1$
-       public static final String PHP_TAG_ITALIC = "_php_tag_italic";//$NON-NLS-1$
-       public static final String PHP_TAG_UNDERLINE = "_php_tag_underline";//$NON-NLS-1$
+  public static final String PHP_TAG = "_php_tag";//$NON-NLS-1$
+  public static final String PHP_TAG_BOLD = "_php_tag_bold";//$NON-NLS-1$
+  public static final String PHP_TAG_ITALIC = "_php_tag_italic";//$NON-NLS-1$
+  public static final String PHP_TAG_UNDERLINE = "_php_tag_underline";//$NON-NLS-1$
   public static final String PHP_KEYWORD = "_php_keyword";//$NON-NLS-1$
   public static final String PHP_KEYWORD_BOLD = "_php_keyword_bold";//$NON-NLS-1$
   public static final String PHP_KEYWORD_ITALIC = "_php_keyword_italic";//$NON-NLS-1$
@@ -213,8 +253,11 @@ public interface IPreferenceConstants {
   public static final String EDITOR_CORRECTION_INDICATION = null;
 
   public static final String PHP_OBFUSCATOR_DEFAULT = "_php_obfuscator_default";
-  public static final String PHP_BOOKMARK_DEFAULT = "_php_bookmark_default";
-  
-  public static final String PHP_AUTO_PREVIEW_DEFAULT = "_auto_preview";
-  public static final String PHP_BRING_TO_TOP_PREVIEW_DEFAULT = "_bring_to_top_preview";
+//  public static final String PHP_BOOKMARK_DEFAULT = "_php_bookmark_default";
+//  public static final String PHP_LOCALHOST_PREF = "_php_localhost";
+//  public static final String PHP_DOCUMENTROOT_PREF = "_php_documentroot";
+//  
+//  public static final String PHP_AUTO_PREVIEW_DEFAULT = "_auto_preview";
+//  public static final String PHP_BRING_TO_TOP_PREVIEW_DEFAULT = "_bring_to_top_preview";
+//  public static final String PHP_SHOW_HTML_FILES_LOCAL = "_show_html_files_local";
 }
\ No newline at end of file