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=8ada2a007fadb6c7b3d579240b9f9184c9939354;hb=d601802d5a50e4e30eb639a08eff5270b63fe599;hp=0000000000000000000000000000000000000000;hpb=25f5101e4af9027b61bab99f13045afca494072f;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 new file mode 100644 index 000000000..8ada2a007 --- /dev/null +++ b/eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java @@ -0,0 +1,18 @@ +package org.argeo.slc.client.rcp; + +import org.argeo.slc.client.ui.views.ExecutionModulesView; +import org.eclipse.ui.IPageLayout; +import org.eclipse.ui.IPerspectiveFactory; + +public class Perspective implements IPerspectiveFactory { + + public void createInitialLayout(IPageLayout layout) { + String editorArea = layout.getEditorArea(); + layout.setEditorAreaVisible(false); + layout.setFixed(true); + + layout.addStandaloneView(ExecutionModulesView.ID, false, + IPageLayout.LEFT, 1.0f, editorArea); + } + +}