--- /dev/null
+package org.argeo.slc.ide.ui;\r
+\r
+import org.eclipse.jdt.ui.JavaUI;\r
+import org.eclipse.ui.IFolderLayout;\r
+import org.eclipse.ui.IPageLayout;\r
+import org.eclipse.ui.IPerspectiveFactory;\r
+import org.eclipse.ui.console.IConsoleConstants;\r
+\r
+public class SlcPerspectiveFactory implements IPerspectiveFactory {\r
+\r
+ public void createInitialLayout(IPageLayout layout) {\r
+ // Get the editor area.\r
+ String editorArea = layout.getEditorArea();\r
+\r
+ IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.25f,\r
+ editorArea);\r
+ topLeft.addView(JavaUI.ID_PACKAGES);\r
+\r
+ IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.66f,\r
+ editorArea);\r
+ bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);\r
+ bottom.addView(IPageLayout.ID_TASK_LIST);\r
+ \r
+ layout.addActionSet("org.eclipse.debug.ui.launchActionSet");\r
+ }\r
+\r
+}\r