misc changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / php / PHPPartition.java
index e9e7998..08f9c08 100644 (file)
@@ -4,11 +4,13 @@
  */
 package net.sourceforge.phpeclipse.phpeditor.php;
 
+import net.sourceforge.phpdt.internal.ui.text.*;
+
 import org.eclipse.jface.text.IDocument;
 
 /**
  * @author slanger
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
  */
 public class PHPPartition extends Partition
 {
@@ -25,7 +27,7 @@ public class PHPPartition extends Partition
         super(
             document,
             new char[] { '<', '>' },
-            IPHPPartitionScannerConstants.PHP,
+            IPHPPartitions.PHP_PARTITIONING,
             parentPartition);
     }
 
@@ -36,7 +38,7 @@ public class PHPPartition extends Partition
      */
     protected boolean allowedPartition(String type)
     {
-        if(type.equals(IPHPPartitionScannerConstants.PHP_MULTILINE_COMMENT))
+        if(type.equals(IPHPPartitions.PHP_MULTILINE_COMMENT))
                return true;
                
         return false;