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