]> git.argeo.org Git - lgpl/argeo-commons.git/blob - ui/SecurityPerspective.java
Prepare next development cycle
[lgpl/argeo-commons.git] / ui / SecurityPerspective.java
1 package org.argeo.security.ui;
2
3 import org.eclipse.ui.IFolderLayout;
4 import org.eclipse.ui.IPageLayout;
5 import org.eclipse.ui.IPerspectiveFactory;
6
7 public class SecurityPerspective implements IPerspectiveFactory {
8
9 public void createInitialLayout(IPageLayout layout) {
10 String editorArea = layout.getEditorArea();
11 layout.setEditorAreaVisible(true);
12 layout.setFixed(false);
13
14 IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
15 0.3f, editorArea);
16
17 left.addView("org.argeo.security.ui.usersView");
18 left.addView("org.argeo.security.ui.currentUserView");
19 }
20
21 }