Require-Bundle: org.eclipse.core.runtime,
org.eclipse.jface.text,
org.eclipse.ui,
- org.eclipse.ui.editors,
- org.eclipse.ui.workbench.texteditor,
net.sourceforge.phpeclipse,
net.sourceforge.phpeclipse.phphelp,
- net.sourceforge.phpeclipse.phpmanual.htmlparser
-Bundle-ActivationPolicy: lazy
+ net.sourceforge.phpeclipse.phpmanual.htmlparser,
+ net.sourceforge.phpeclipse.ui
+Eclipse-LazyStart: true
Bundle-RequiredExecutionEnvironment: J2SE-1.4
+Import-Package: org.eclipse.ui.texteditor
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;
*/
private PHPEditor getJavaEditor() {
try {
- IEditorPart part = PHPeclipsePlugin.getActivePage().getActiveEditor();
+ IEditorPart part = /*PHPeclipsePlugin*/WebUI.getActivePage().getActiveEditor();
if (part instanceof PHPEditor)
return (PHPEditor) part;
else