Config editor through XML file
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / PHPPerspectiveFactory.java
index 059485c..cc41bb1 100644 (file)
@@ -15,14 +15,17 @@ public class PHPPerspectiveFactory implements IPerspectiveFactory {
        public void createInitialLayout(IPageLayout layout) {
                String editorArea = layout.getEditorArea();
                
-               IFolderLayout phpResourcesArea = layout.createFolder("phpresourcesarea", IPageLayout.LEFT, (float)0.25, editorArea);
-               phpResourcesArea.addView(PHPeclipsePlugin.PHP_RESOURCES_VIEW_ID);
-               
+//             IFolderLayout phpResourcesArea = layout.createFolder("phpresourcesarea", IPageLayout.LEFT, (float)0.25, editorArea);
+//             phpResourcesArea.addView(PHPeclipsePlugin.PHP_RESOURCES_VIEW_ID);
+               IFolderLayout folder= layout.createFolder("left", IPageLayout.LEFT, (float)0.25, editorArea); //$NON-NLS-1$
+    folder.addView(IPageLayout.ID_RES_NAV);
+    folder.addPlaceholder(IPageLayout.ID_RES_NAV);
+    
                IFolderLayout consoleArea = layout.createFolder("consoleArea", IPageLayout.BOTTOM, (float)0.75, editorArea);
                
                consoleArea.addView(IPageLayout.ID_TASK_LIST);
     consoleArea.addView(IDebugUIConstants.ID_CONSOLE_VIEW);
-    consoleArea.addPlaceholder(IPageLayout.ID_BOOKMARKS);
+    consoleArea.addView(IPageLayout.ID_BOOKMARKS);
     
     layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.RIGHT, (float)0.75, editorArea);
     
@@ -35,6 +38,7 @@ public class PHPPerspectiveFactory implements IPerspectiveFactory {
     // views - standard workbench
     layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
     layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);
+    layout.addShowViewShortcut(IPageLayout.ID_BOOKMARKS);
     
     // new actions - PHP project creation wizards
     layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.folder");//$NON-NLS-1$