]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.rcp/src/org/argeo/slc/client/rcp/Perspective.java
Add server capabilities to SLC RCP
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.rcp / src / org / argeo / slc / client / rcp / Perspective.java
1 package org.argeo.slc.client.rcp;
2
3 import org.argeo.slc.client.ui.views.ExecutionModulesView;
4 import org.argeo.slc.client.ui.views.ResultListView;
5 import org.eclipse.ui.IPageLayout;
6 import org.eclipse.ui.IPerspectiveFactory;
7
8 public class Perspective implements IPerspectiveFactory {
9
10 public void createInitialLayout(IPageLayout layout) {
11 String editorArea = layout.getEditorArea();
12 layout.setEditorAreaVisible(false);
13 layout.setFixed(true);
14
15 layout.addStandaloneView(ExecutionModulesView.ID, false,
16 IPageLayout.LEFT, 0.5f, editorArea);
17 layout.addStandaloneView(ResultListView.ID, false, IPageLayout.RIGHT,
18 0.5f, editorArea);
19 }
20
21 }