avoid "console==null" problems
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPPerspectiveFactory.java
index 0278f22..8e709d8 100644 (file)
@@ -29,11 +29,13 @@ public class PHPPerspectiveFactory implements IPerspectiveFactory {
     layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, (float) 0.75, editorArea);
 
     layout.addActionSet(IDebugUIConstants.LAUNCH_ACTION_SET);
-
+       layout.addActionSet(IPageLayout.ID_NAVIGATE_ACTION_SET);
+       layout.addActionSet(PHPeclipsePlugin.PHP_CODING_ACTION_SET_ID);
+       
     layout.addShowViewShortcut(IDebugUIConstants.ID_CONSOLE_VIEW);
 
-    layout.addShowViewShortcut(PHPeclipsePlugin.PHP_RESOURCES_VIEW_ID);
-
+   // layout.addShowViewShortcut(PHPeclipsePlugin.PHP_RESOURCES_VIEW_ID);
+       
     // views - standard workbench
     layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
     layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);