From cc6db4cdd79837459791c22fe798f8de93d3fea6 Mon Sep 17 00:00:00 2001 From: Bruno Sinou Date: Mon, 20 Sep 2010 17:28:11 +0000 Subject: [PATCH] -> Paging update. git-svn-id: https://svn.argeo.org/slc/trunk@3781 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc --- .../src/org/argeo/slc/client/rcp/Perspective.java | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java b/eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java index 059a51da2..f5e915771 100644 --- a/eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java +++ b/eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java @@ -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); } } -- 2.39.2