]> 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
Working GPX import
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.ui.gis / src / main / java / org / argeo / slc / ui / gis / GisPerspectiveFactory.java
1 package org.argeo.slc.ui.gis;
2
3 import org.eclipse.ui.IFolderLayout;
4 import org.eclipse.ui.IPageLayout;
5 import org.eclipse.ui.IPerspectiveFactory;
6
7 public class GisPerspectiveFactory implements IPerspectiveFactory {
8
9 public void createInitialLayout(IPageLayout layout) {
10 String editorArea = layout.getEditorArea();
11 layout.setEditorAreaVisible(false);
12 layout.setFixed(false);
13
14 IFolderLayout topLeft = layout.createFolder("topLeft",
15 IPageLayout.LEFT, 0.5f, editorArea);
16 topLeft.addView("org.argeo.slc.ui.gis.layersView");
17
18 IFolderLayout topRight = layout.createFolder("topRight",
19 IPageLayout.RIGHT, 0.5f, editorArea);
20 topRight.addView("org.argeo.slc.ui.gis.mapView");
21 }
22
23 }