]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java
31f1b404c1b2a764118648aaccb7e931734be9a2
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.rcp / src / org / argeo / slc / client / rcp / Perspective.java
1 package org.argeo.slc.client.rcp;
2
3 import org.eclipse.ui.IFolderLayout;
4 import org.eclipse.ui.IPageLayout;
5 import org.eclipse.ui.IPerspectiveFactory;
6
7 public class Perspective 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.5f, editorArea);
16 topLeft.addView("org.argeo.slc.client.ui.executionModulesView");
17
18 IFolderLayout topRight = layout.createFolder("topRight",
19 IPageLayout.RIGHT, 0.5f, editorArea);
20 topRight.addView("org.argeo.slc.client.ui.resultListView");
21
22 IFolderLayout bottomRight = layout.createFolder("bottomRight",
23 IPageLayout.BOTTOM, 0.6f, "topRight");
24 bottomRight.addView("org.argeo.slc.client.ui.processListView");
25 // bottomRight.addView("org.argeo.slc.client.ui.processDetailView");
26 bottomRight
27 .addPlaceholder("org.argeo.slc.client.ui.processDetailView:UUID-*");
28
29 // bottomRight.addView("org.argeo.slc.client.ui.resultListView");
30
31 IFolderLayout bottomLeft = layout.createFolder("bottomLeft",
32 IPageLayout.BOTTOM, 0.6f, "topLeft");
33 bottomLeft.addView("org.argeo.slc.client.ui.processBuilderView");
34 }
35
36 }