Workaround for feature request #1154254 (sticky browser URL) that solves bug #1827766...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPPerspectiveFactory.java
index 53e8cb7..94f26a3 100644 (file)
@@ -11,6 +11,7 @@ import org.eclipse.ui.console.IConsoleConstants;
 
 public class PHPPerspectiveFactory implements IPerspectiveFactory {
        public static final String ID_PROGRESS_VIEW = "org.eclipse.ui.views.ProgressView"; //$NON-NLS-1$
+
        // see bug 63563
 
        public PHPPerspectiveFactory() {
@@ -54,5 +55,8 @@ public class PHPPerspectiveFactory implements IPerspectiveFactory {
                                .addNewWizardShortcut("net.sourceforge.phpeclipse.wizards.NewWizardProjectCreation"); //$NON-NLS-1$
                layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.folder");//$NON-NLS-1$
                layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.file");//$NON-NLS-1$
+               // perspective shortcuts
+               layout.addPerspectiveShortcut(IDebugUIConstants.ID_DEBUG_PERSPECTIVE);
+               layout.addPerspectiveShortcut("org.eclipse.ui.resourcePerspective");
        }
 }
\ No newline at end of file