]> git.argeo.org Git - gpl/argeo-slc.git/blob - legacy/org.argeo.slc.client.ui/src/org/argeo/slc/client/ui/SlcExecutionPerspective.java
Clarify overall project structure.
[gpl/argeo-slc.git] / legacy / org.argeo.slc.client.ui / src / org / argeo / slc / client / ui / SlcExecutionPerspective.java
1 package org.argeo.slc.client.ui;
2
3 import org.eclipse.ui.IFolderLayout;
4 import org.eclipse.ui.IPageLayout;
5 import org.eclipse.ui.IPerspectiveFactory;
6
7 /** Perspective to manage SLC execution flows. */
8 public class SlcExecutionPerspective implements IPerspectiveFactory {
9
10 public void createInitialLayout(IPageLayout layout) {
11 String editorArea = layout.getEditorArea();
12 layout.setEditorAreaVisible(true);
13 layout.setFixed(false);
14
15 IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
16 0.35f, editorArea);
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");
22
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");
27 }
28 }