X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=eclipse%2Fplugins%2Forg.argeo.slc.client.rcp%2Fsrc%2Forg%2Fargeo%2Fslc%2Fclient%2Frcp%2FPerspective.java;fp=eclipse%2Fplugins%2Forg.argeo.slc.client.rcp%2Fsrc%2Forg%2Fargeo%2Fslc%2Fclient%2Frcp%2FPerspective.java;h=f5e915771fc27f17eceff4830cf092599708dc18;hb=cc6db4cdd79837459791c22fe798f8de93d3fea6;hp=059a51da22fdb7074007b606517ece944ce71318;hpb=8a70a3ad35fda3a586149a0144659a06b8acd2a4;p=gpl%2Fargeo-slc.git 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); } }