]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - GisPerspective.java
142856dde01341ce5ceee6fe5e42718bf696e6c3
1 package org
.argeo
.gis
.ui
;
3 import org
.argeo
.gis
.ui
.views
.DataStoresView
;
4 import org
.argeo
.gis
.ui
.views
.LayersView
;
5 import org
.eclipse
.ui
.IFolderLayout
;
6 import org
.eclipse
.ui
.IPageLayout
;
7 import org
.eclipse
.ui
.IPerspectiveFactory
;
9 public class GisPerspective
implements IPerspectiveFactory
{
11 public void createInitialLayout(IPageLayout layout
) {
12 String editorArea
= layout
.getEditorArea();
13 layout
.setEditorAreaVisible(true);
14 layout
.setFixed(false);
16 IFolderLayout topLeft
= layout
.createFolder("topLeft",
17 IPageLayout
.LEFT
, 0.3f
, editorArea
);
18 topLeft
.addView(LayersView
.ID
);
19 topLeft
.addView(DataStoresView
.ID
);