1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.argeo.slc.client.ui;
17
18 import org.eclipse.ui.IFolderLayout;
19 import org.eclipse.ui.IPageLayout;
20 import org.eclipse.ui.IPerspectiveFactory;
21
22
23 public class SlcExecutionPerspective implements IPerspectiveFactory {
24
25 public void createInitialLayout(IPageLayout layout) {
26 String editorArea = layout.getEditorArea();
27 layout.setEditorAreaVisible(true);
28 layout.setFixed(false);
29
30 IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
31 0.35f, editorArea);
32 left.addView(ClientUiPlugin.ID + ".jcrExecutionModulesView");
33
34 left.addView(ClientUiPlugin.ID + ".jcrResultTreeView");
35
36
37
38 IFolderLayout bottom = layout.createFolder("bottom",
39 IPageLayout.BOTTOM, 0.65f, editorArea);
40
41 bottom.addView(ClientUiPlugin.ID + ".jcrProcessListView");
42 }
43 }