]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java
Introduce process builder view with drag and drop
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.rcp / src / org / argeo / slc / client / rcp / Perspective.java
index 746dfe5536da702c3297e59b693630c38212abd1..857ce722e9fd2efc34ea01da8eb8e96681681a72 100644 (file)
@@ -1,6 +1,7 @@
 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.ProcessListView;
 import org.eclipse.ui.IFolderLayout;
@@ -14,15 +15,21 @@ 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);
+               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.5f, "topRight");
+                               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);
        }