1 package org
.argeo
.slc
.client
.ui
.perspectives
;
3 import org
.eclipse
.ui
.IFolderLayout
;
4 import org
.eclipse
.ui
.IPageLayout
;
5 import org
.eclipse
.ui
.IPerspectiveFactory
;
7 public class SlcExecution
implements IPerspectiveFactory
{
9 public void createInitialLayout(IPageLayout layout
) {
10 String editorArea
= layout
.getEditorArea();
11 layout
.setEditorAreaVisible(false);
12 layout
.setFixed(false);
14 IFolderLayout topLeft
= layout
.createFolder("topLeft",
15 IPageLayout
.LEFT
, 0.7f
, editorArea
);
16 topLeft
.addView("org.argeo.slc.client.ui.executionModulesView");
18 IFolderLayout topRight
= layout
.createFolder("topRight",
19 IPageLayout
.RIGHT
, 0.3f
, editorArea
);
20 topRight
.addView("org.argeo.slc.client.ui.resultListView");
21 topRight
.addPlaceholder("org.argeo.slc.client.ui.resultDetailView:UUID-*");
23 IFolderLayout bottomRight
= layout
.createFolder("bottomRight",
24 IPageLayout
.BOTTOM
, 0.6f
, "topRight");
25 bottomRight
.addView("org.argeo.slc.client.ui.processListView");
27 .addPlaceholder("org.argeo.slc.client.ui.processDetailView:UUID-*");
29 IFolderLayout bottomLeft
= layout
.createFolder("bottomLeft",
30 IPageLayout
.BOTTOM
, 0.6f
, "topLeft");
31 bottomLeft
.addView("org.argeo.slc.client.ui.processBuilderView");
32 IFolderLayout paramsEditor
= layout
.createFolder("paramsEditor",
33 IPageLayout
.RIGHT
, 0.6f
, "bottomLeft");
34 paramsEditor
.addView("org.argeo.slc.client.ui.processParametersView");