]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.ui/src/org/argeo/slc/client/ui/perspectives/SlcExecution.java
bb533cb766fba566e4cd4308232361c50bab05bb
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui / src / org / argeo / slc / client / ui / perspectives / SlcExecution.java
1 package org.argeo.slc.client.ui.perspectives;
2
3 import org.eclipse.ui.IFolderLayout;
4 import org.eclipse.ui.IPageLayout;
5 import org.eclipse.ui.IPerspectiveFactory;
6
7 public class SlcExecution implements IPerspectiveFactory {
8
9 public void createInitialLayout(IPageLayout layout) {
10 String editorArea = layout.getEditorArea();
11 layout.setEditorAreaVisible(false);
12 layout.setFixed(false);
13
14 IFolderLayout topLeft = layout.createFolder("topLeft",
15 IPageLayout.LEFT, 0.7f, editorArea);
16 topLeft.addView("org.argeo.slc.client.ui.executionModulesView");
17
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-*");
22
23 IFolderLayout bottomRight = layout.createFolder("bottomRight",
24 IPageLayout.BOTTOM, 0.6f, "topRight");
25 bottomRight.addView("org.argeo.slc.client.ui.processListView");
26 bottomRight
27 .addPlaceholder("org.argeo.slc.client.ui.processDetailView:UUID-*");
28
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");
35
36 }
37
38 }