]>
git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.client.ui/src/org/argeo/slc/client/ui/SlcExecutionPerspective.java
1 package org
.argeo
.slc
.client
.ui
;
3 import org
.eclipse
.ui
.IFolderLayout
;
4 import org
.eclipse
.ui
.IPageLayout
;
5 import org
.eclipse
.ui
.IPerspectiveFactory
;
7 /** Perspective to manage SLC execution flows. */
8 public class SlcExecutionPerspective
implements IPerspectiveFactory
{
10 public void createInitialLayout(IPageLayout layout
) {
11 String editorArea
= layout
.getEditorArea();
12 layout
.setEditorAreaVisible(true);
13 layout
.setFixed(false);
15 IFolderLayout left
= layout
.createFolder("left", IPageLayout
.LEFT
,
17 left
.addView(ClientUiPlugin
.ID
+ ".jcrExecutionModulesView");
18 // left.addView(ClientUiPlugin.ID + ".jcrResultListView");
19 left
.addView(ClientUiPlugin
.ID
+ ".jcrResultTreeView");
20 // Sleak view for SWT resource debugging
21 // left.addView("org.eclipse.swt.tools.views.SleakView");
23 IFolderLayout bottom
= layout
.createFolder("bottom",
24 IPageLayout
.BOTTOM
, 0.65f
, editorArea
);
25 // BOTTOM.ADDVIEW(SECURITYUIPLUGIN.PLUGIN_ID + ".LOGVIEW");
26 bottom
.addView(ClientUiPlugin
.ID
+ ".jcrProcessListView");