]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java
git-svn-id: https://svn.argeo.org/slc/trunk@3795 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.rcp / src / org / argeo / slc / client / rcp / Perspective.java
index 059a51da22fdb7074007b606517ece944ce71318..857ce722e9fd2efc34ea01da8eb8e96681681a72 100644 (file)
@@ -1,8 +1,10 @@
 package org.argeo.slc.client.rcp;
 
 import org.argeo.slc.client.ui.views.ExecutionModulesView;
+import org.argeo.slc.client.ui.views.ProcessBuilderView;
 import org.argeo.slc.client.ui.views.ResultListView;
-import org.argeo.slc.client.ui.views.SlcExecutionListView;
+import org.argeo.slc.client.ui.views.ProcessListView;
+import org.eclipse.ui.IFolderLayout;
 import org.eclipse.ui.IPageLayout;
 import org.eclipse.ui.IPerspectiveFactory;
 
@@ -13,12 +15,23 @@ public class Perspective implements IPerspectiveFactory {
                layout.setEditorAreaVisible(false);
                layout.setFixed(true);
 
-               layout.addStandaloneView(ExecutionModulesView.ID, false,
+               IFolderLayout topLeft = layout.createFolder("topLeft",
                                IPageLayout.LEFT, 0.5f, editorArea);
-               layout.addStandaloneView(ResultListView.ID, false, IPageLayout.RIGHT,
-                               0.5f, editorArea);
-               layout.addStandaloneView(SlcExecutionListView.ID, false,
-                               IPageLayout.BOTTOM, 0.5f, editorArea);
+               topLeft.addView(ExecutionModulesView.ID);
+
+               IFolderLayout topRight = layout.createFolder("topRight",
+                               IPageLayout.RIGHT, 0.5f, editorArea);
+               topRight.addView(ResultListView.ID);
+
+               IFolderLayout bottomRight = layout.createFolder("bottomRight",
+                               IPageLayout.BOTTOM, 0.6f, "topRight");
+               bottomRight.addView(ProcessListView.ID);
+
+               IFolderLayout bottomLeft = layout.createFolder("bottomLeft",
+                               IPageLayout.BOTTOM, 0.6f, "topLeft");
+               bottomLeft.addView(ProcessBuilderView.ID);
+               // layout.addStandaloneView(SlcExecutionListView.ID, false,
+               // IPageLayout.BOTTOM, 0.5f, editorArea);
        }
 
 }