avoid NullPointerException in debug
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPPerspectiveFactory.java
index 53e8cb7..6f59900 100644 (file)
@@ -54,5 +54,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