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;h=857ce722e9fd2efc34ea01da8eb8e96681681a72;hb=67c14229dc9387622fca4af792e24dfad487ac2e;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..857ce722e 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 @@ -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); } }