1) Fixed issue #347: Syntax highlight doesn't like apostrophe in heredoc.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ui / actions / OpenPHPPerspectiveAction.java
index 1fc57ae..1583139 100644 (file)
@@ -12,6 +12,7 @@ package net.sourceforge.phpdt.ui.actions;
 
 import net.sourceforge.phpdt.internal.ui.actions.ActionMessages;
 import net.sourceforge.phpdt.internal.ui.util.ExceptionHandler;
+import net.sourceforge.phpdt.ui.JavaUI;
 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
 import org.eclipse.core.resources.ResourcesPlugin;
@@ -51,7 +52,7 @@ public class OpenPHPPerspectiveAction extends Action {
                else
                        input = ResourcesPlugin.getWorkspace().getRoot();
                try {
-                       workbench.showPerspective(PHPeclipsePlugin.ID_PERSPECTIVE, window,
+                       workbench.showPerspective(JavaUI.ID_PERSPECTIVE, window,
                                        input);
                } catch (WorkbenchException e) {
                        ExceptionHandler