]> 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 a new command to automatically refresh Result Test List
[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.argeo.slc.client.ui.views.SlcExecutionListView;
6 import org.eclipse.ui.IPageLayout;
7 import org.eclipse.ui.IPerspectiveFactory;
8
9 public class Perspective implements IPerspectiveFactory {
10
11 public void createInitialLayout(IPageLayout layout) {
12 String editorArea = layout.getEditorArea();
13 layout.setEditorAreaVisible(false);
14 layout.setFixed(true);
15
16 layout.addStandaloneView(ExecutionModulesView.ID, false,
17 IPageLayout.LEFT, 0.5f, editorArea);
18 layout.addStandaloneView(ResultListView.ID, false, IPageLayout.RIGHT,
19 0.5f, editorArea);
20 layout.addStandaloneView(SlcExecutionListView.ID, false,
21 IPageLayout.BOTTOM, 0.5f, editorArea);
22 }
23
24 }