-> Paging update.
authorBruno Sinou <bsinou@argeo.org>
Mon, 20 Sep 2010 17:28:11 +0000 (17:28 +0000)
committerBruno Sinou <bsinou@argeo.org>
Mon, 20 Sep 2010 17:28:11 +0000 (17:28 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@3781 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java

index 059a51da22fdb7074007b606517ece944ce71318..f5e915771fc27f17eceff4830cf092599708dc18 100644 (file)
@@ -3,6 +3,7 @@ package org.argeo.slc.client.rcp;
 import org.argeo.slc.client.ui.views.ExecutionModulesView;
 import org.argeo.slc.client.ui.views.ResultListView;
 import org.argeo.slc.client.ui.views.SlcExecutionListView;
+import org.eclipse.ui.IFolderLayout;
 import org.eclipse.ui.IPageLayout;
 import org.eclipse.ui.IPerspectiveFactory;
 
@@ -15,10 +16,15 @@ public class Perspective implements IPerspectiveFactory {
 
                layout.addStandaloneView(ExecutionModulesView.ID, false,
                                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);
+               IFolderLayout topRight = layout.createFolder("topRight",
+                               IPageLayout.RIGHT, 0.5f, editorArea);
+
+               topRight.addView(ResultListView.ID);
+               IFolderLayout bottomRight = layout.createFolder("bottomRight",
+                               IPageLayout.BOTTOM, 0.5f, "topRight");
+               bottomRight.addView(SlcExecutionListView.ID);
+               // layout.addStandaloneView(SlcExecutionListView.ID, false,
+               // IPageLayout.BOTTOM, 0.5f, editorArea);
        }
 
 }