]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - server/plugins/org.argeo.jcr.ui.explorer/src/main/java/org/argeo/eclipse/ui/jcr/explorer/JcrExplorerPerspective.java
1 package org
.argeo
.eclipse
.ui
.jcr
.explorer
;
3 import org
.eclipse
.ui
.IFolderLayout
;
4 import org
.eclipse
.ui
.IPageLayout
;
5 import org
.eclipse
.ui
.IPerspectiveFactory
;
7 public class JcrExplorerPerspective
implements IPerspectiveFactory
{
8 public static String BROWSER_VIEW_ID
= JcrExplorerPlugin
.ID
11 public void createInitialLayout(IPageLayout layout
) {
12 layout
.setEditorAreaVisible(true);
14 IFolderLayout upperLeft
= layout
.createFolder(JcrExplorerPlugin
.ID
15 + ".upperLeft", IPageLayout
.LEFT
, 0.4f
, layout
.getEditorArea());
16 upperLeft
.addView(BROWSER_VIEW_ID
);