1 package org
.argeo
.slc
.client
.rcp
;
3 import org
.argeo
.slc
.client
.ui
.views
.ExecutionModulesView
;
4 import org
.argeo
.slc
.client
.ui
.views
.ResultListView
;
5 import org
.argeo
.slc
.client
.ui
.views
.SlcExecutionListView
;
6 import org
.eclipse
.ui
.IFolderLayout
;
7 import org
.eclipse
.ui
.IPageLayout
;
8 import org
.eclipse
.ui
.IPerspectiveFactory
;
10 public class Perspective
implements IPerspectiveFactory
{
12 public void createInitialLayout(IPageLayout layout
) {
13 String editorArea
= layout
.getEditorArea();
14 layout
.setEditorAreaVisible(false);
15 layout
.setFixed(true);
17 layout
.addStandaloneView(ExecutionModulesView
.ID
, false,
18 IPageLayout
.LEFT
, 0.5f
, editorArea
);
19 IFolderLayout topRight
= layout
.createFolder("topRight",
20 IPageLayout
.RIGHT
, 0.5f
, editorArea
);
22 topRight
.addView(ResultListView
.ID
);
23 IFolderLayout bottomRight
= layout
.createFolder("bottomRight",
24 IPageLayout
.BOTTOM
, 0.5f
, "topRight");
25 bottomRight
.addView(SlcExecutionListView
.ID
);
26 // layout.addStandaloneView(SlcExecutionListView.ID, false,
27 // IPageLayout.BOTTOM, 0.5f, editorArea);