PHP highlighting colors could now be managed by the new PreferencePage
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ui / text / IJavaColorConstants.java
index 6e2a6cf..d6de39e 100644 (file)
@@ -11,8 +11,8 @@
 package net.sourceforge.phpdt.ui.text;
 
 /**
- * Color keys used for syntax highlighting Java 
- * code and JavaDoc compliant comments. 
+ * Color keys used for syntax highlighting PHP 
+ * code and PHPDoc compliant comments. 
  * A <code>IColorManager</code> is responsible for mapping 
  * concrete colors to these keys.
  * <p>
@@ -30,29 +30,32 @@ public interface IJavaColorConstants {
         */
        String PREFIX= "php_"; //$NON-NLS-1$
        
-       /** The color key for multi-line comments in Java code. */
-       String JAVA_MULTI_LINE_COMMENT= "php_multi_line_comment"; //$NON-NLS-1$
-       /** The color key for single-line comments in Java code. */
-       String JAVA_SINGLE_LINE_COMMENT= "php_single_line_comment"; //$NON-NLS-1$
-       /** The color key for Java keywords in Java code. */
-       String JAVA_KEYWORD= "php_keyword"; //$NON-NLS-1$
-       /** The color key for string and character literals in Java code. */
-       String JAVA_STRING= "php_string"; //$NON-NLS-1$
-       /** The color key for everthing in Java code for which no other color is specified. */
-       String JAVA_DEFAULT= "php_default"; //$NON-NLS-1$
-       /** 
-        * The color key for the Java built-in types such as int and char in Java code.
-        * @deprecated no longer used, use <code>JAVA_KEYWORD</code> instead
-        */
-       String JAVA_TYPE= "php_type"; //$NON-NLS-1$
+       /** The color key for multi-line comments in PHP code. */
+       String PHP_MULTI_LINE_COMMENT= "php_multi_line_comment"; //$NON-NLS-1$
+       /** The color key for single-line comments in PHP code. */
+       String PHP_SINGLE_LINE_COMMENT= "php_single_line_comment"; //$NON-NLS-1$
+       /** The color key for PHP keywords in PHP code. */
+       String PHP_KEYWORD= "php_keyword"; //$NON-NLS-1$
+       /** The color key for string and character literals in PHP code. */
+       String PHP_STRING= "php_string"; //$NON-NLS-1$
+       /** The color key for everthing in PHP code for which no other color is specified. */
+       String PHP_DEFAULT= "php_default"; //$NON-NLS-1$
+  /** The color key for predefined PHP function namesin PHP code. */
+  String PHP_FUNCTIONNAME= "php_functionname"; //$NON-NLS-1$
+  /** The color key for ($-)variables in PHP code. */
+  String PHP_VARIABLE= "php_variable"; //$NON-NLS-1$
+  /** The color key for constants in PHP code */
+  String PHP_CONSTANT= "php_constant"; //$NON-NLS-1$
+       /** The color key for the PHP built-in types in PHP code. */
+       String PHP_TYPE= "php_type"; //$NON-NLS-1$
        
        
-       /** The color key for JavaDoc keywords (<code>@foo</code>) in JavaDoc comments. */
-       String JAVADOC_KEYWORD= "php_doc_keyword"; //$NON-NLS-1$
-       /** The color key for HTML tags (<code>&lt;foo&gt;</code>) in JavaDoc comments. */
-       String JAVADOC_TAG= "php_doc_tag"; //$NON-NLS-1$
-       /** The color key for JavaDoc links (<code>{foo}</code>) in JavaDoc comments. */
-       String JAVADOC_LINK= "php_doc_link"; //$NON-NLS-1$
-       /** The color key for everthing in JavaDoc comments for which no other color is specified. */
-       String JAVADOC_DEFAULT= "php_doc_default"; //$NON-NLS-1$
+       /** The color key for PHPDoc keywords (<code>@foo</code>) in PHPDoc comments. */
+       String PHPDOC_KEYWORD= "php_doc_keyword"; //$NON-NLS-1$
+       /** The color key for HTML tags (<code>&lt;foo&gt;</code>) in PHPDoc comments. */
+       String PHPDOC_TAG= "php_doc_tag"; //$NON-NLS-1$
+       /** The color key for PHPDoc links (<code>{foo}</code>) in PHPDoc comments. */
+       String PHPDOC_LINK= "php_doc_link"; //$NON-NLS-1$
+       /** The color key for everthing in PHPDoc comments for which no other color is specified. */
+       String PHPDOC_DEFAULT= "php_doc_default"; //$NON-NLS-1$
 }
\ No newline at end of file