]>
git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.ui.gis/src/main/java/org/argeo/slc/ui/gis/GisPerspectiveFactory.java
1 package org
.argeo
.slc
.ui
.gis
;
3 import org
.eclipse
.ui
.IFolderLayout
;
4 import org
.eclipse
.ui
.IPageLayout
;
5 import org
.eclipse
.ui
.IPerspectiveFactory
;
7 public class GisPerspectiveFactory
implements IPerspectiveFactory
{
9 public void createInitialLayout(IPageLayout layout
) {
10 String editorArea
= layout
.getEditorArea();
11 layout
.setEditorAreaVisible(false);
12 layout
.setFixed(false);
14 IFolderLayout topLeft
= layout
.createFolder("topLeft",
15 IPageLayout
.LEFT
, 0.5f
, editorArea
);
16 topLeft
.addView("org.argeo.slc.ui.gis.layersView");
18 IFolderLayout topRight
= layout
.createFolder("topRight",
19 IPageLayout
.RIGHT
, 0.5f
, editorArea
);
20 topRight
.addView("org.argeo.slc.ui.gis.mapView");