]>
git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcPerspectiveFactory.java
7c0084e21428adc32f80ac5b6020c98d4a36aed1
1 package org
.argeo
.slc
.ide
.ui
;
3 import org
.eclipse
.jdt
.ui
.JavaUI
;
4 import org
.eclipse
.ui
.IFolderLayout
;
5 import org
.eclipse
.ui
.IPageLayout
;
6 import org
.eclipse
.ui
.IPerspectiveFactory
;
7 import org
.eclipse
.ui
.console
.IConsoleConstants
;
9 public class SlcPerspectiveFactory
implements IPerspectiveFactory
{
11 public void createInitialLayout(IPageLayout layout
) {
12 // Get the editor area.
13 String editorArea
= layout
.getEditorArea();
15 IFolderLayout topLeft
= layout
.createFolder("topLeft", IPageLayout
.LEFT
, 0.25f
,
17 topLeft
.addView(JavaUI
.ID_PACKAGES
);
19 IFolderLayout bottom
= layout
.createFolder("bottom", IPageLayout
.BOTTOM
, 0.66f
,
21 bottom
.addView(IConsoleConstants
.ID_CONSOLE_VIEW
);
22 bottom
.addView(IPageLayout
.ID_TASK_LIST
);
24 layout
.addActionSet("org.eclipse.debug.ui.launchActionSet");