PHP highlighting colors could now be managed by the new PreferencePage
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPUnitEditor.java
index 8eca420..f049dc2 100644 (file)
@@ -834,6 +834,10 @@ public class PHPUnitEditor extends PHPEditor {
    */
   public PHPUnitEditor() {
     super();
+    setDocumentProvider(PHPeclipsePlugin.getDefault().getCompilationUnitDocumentProvider());
+    setEditorContextMenuId("#PHPEditorContext"); //$NON-NLS-1$
+    setRulerContextMenuId("#PHPRulerContext"); //$NON-NLS-1$
+    
   }
   
   public void createPartControl(Composite parent) {