1 package org
.argeo
.slc
.client
.rcp
;
3 import org
.eclipse
.ui
.IFolderLayout
;
4 import org
.eclipse
.ui
.IPageLayout
;
5 import org
.eclipse
.ui
.IPerspectiveFactory
;
7 public class Perspective
implements IPerspectiveFactory
{
9 public void createInitialLayout(IPageLayout layout
) {
10 String editorArea
= layout
.getEditorArea();
11 layout
.setEditorAreaVisible(false);
12 layout
.setFixed(true);
14 IFolderLayout topLeft
= layout
.createFolder("topLeft",
15 IPageLayout
.LEFT
, 0.5f
, editorArea
);
16 topLeft
.addView("org.argeo.slc.client.ui.executionModulesView");
18 IFolderLayout topRight
= layout
.createFolder("topRight",
19 IPageLayout
.RIGHT
, 0.5f
, editorArea
);
20 topRight
.addView("org.argeo.slc.client.ui.resultListView");
22 IFolderLayout bottomRight
= layout
.createFolder("bottomRight",
23 IPageLayout
.BOTTOM
, 0.6f
, "topRight");
24 bottomRight
.addView("org.argeo.slc.client.ui.processListView");
26 IFolderLayout bottomLeft
= layout
.createFolder("bottomLeft",
27 IPageLayout
.BOTTOM
, 0.6f
, "topLeft");
28 bottomLeft
.addView("org.argeo.slc.client.ui.processBuilderView");