]> git.argeo.org Git - gpl/argeo-slc.git/blob - ide/plugins/org.argeo.slc.ide.ui/src/org/argeo/slc/ide/ui/SlcPerspectiveFactory.java
Merge branch 'master' of https://github.com/argeo/argeo-slc.git
[gpl/argeo-slc.git] / ide / plugins / org.argeo.slc.ide.ui / src / org / argeo / slc / ide / ui / SlcPerspectiveFactory.java
1 package org.argeo.slc.ide.ui;
2
3 import org.eclipse.ui.IFolderLayout;
4 import org.eclipse.ui.IPageLayout;
5 import org.eclipse.ui.IPerspectiveFactory;
6
7 public class SlcPerspectiveFactory implements IPerspectiveFactory {
8
9 public void createInitialLayout(IPageLayout layout) {
10 // Get the editor area.
11 String editorArea = layout.getEditorArea();
12
13 IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.25f,
14 editorArea);
15 // topLeft.addView(JavaUI.ID_PACKAGES);
16
17 IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.66f,
18 editorArea);
19 // bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
20 bottom.addView(IPageLayout.ID_TASK_LIST);
21
22 layout.addActionSet("org.eclipse.debug.ui.launchActionSet");
23 }
24
25 }