]>
git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.ui.launch/src/main/java/org/argeo/slc/ui/launch/SlcPerspectiveFactory.java
1 package org
.argeo
.slc
.ui
.launch
;
3 import org
.eclipse
.ui
.IFolderLayout
;
4 import org
.eclipse
.ui
.IPageLayout
;
5 import org
.eclipse
.ui
.IPerspectiveFactory
;
6 import org
.eclipse
.ui
.console
.IConsoleConstants
;
8 public class SlcPerspectiveFactory
implements IPerspectiveFactory
{
10 public void createInitialLayout(IPageLayout layout
) {
11 // Get the editor area.
12 String editorArea
= layout
.getEditorArea();
14 IFolderLayout topLeft
= layout
.createFolder("topLeft", IPageLayout
.LEFT
, 0.25f
,
16 topLeft
.addView(IPageLayout
.ID_RES_NAV
);
18 IFolderLayout bottom
= layout
.createFolder("bottom", IPageLayout
.BOTTOM
, 0.66f
,
20 bottom
.addView(IConsoleConstants
.ID_CONSOLE_VIEW
);
21 bottom
.addView(IPageLayout
.ID_TASK_LIST
);
23 layout
.addActionSet("org.eclipse.debug.ui.launchActionSet");