Refactory: added icons from core plugin.
[phpeclipse.git] / net.sourceforge.phpeclipse.phpmanual / src / net / sourceforge / phpeclipse / phpmanual / views / PHPManualView.java
index c9b5948..1295b94 100644 (file)
@@ -20,6 +20,7 @@ import net.sourceforge.phpdt.phphelp.PHPHelpPlugin;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 import net.sourceforge.phpeclipse.phpeditor.PHPEditor;
 import net.sourceforge.phpeclipse.phpmanual.PHPManualUIPlugin;
+import net.sourceforge.phpeclipse.ui.WebUI;
 
 import org.eclipse.core.runtime.FileLocator;
 import org.eclipse.core.runtime.Path;
@@ -347,7 +348,7 @@ public class PHPManualView extends ViewPart implements INullSelectionListener, I
         */
        private PHPEditor getJavaEditor() {
                try {
-                       IEditorPart part = PHPeclipsePlugin.getActivePage().getActiveEditor();
+                       IEditorPart part = /*PHPeclipsePlugin*/WebUI.getActivePage().getActiveEditor();
                        if (part instanceof PHPEditor)
                                return (PHPEditor) part;
                        else