]>
git.argeo.org Git - gpl/argeo-slc.git/blob - plugins/org.argeo.slc.akb.ui/src/main/java/org/argeo/slc/akb/ui/AkbTemplatesPerspective.java
1 package org
.argeo
.slc
.akb
.ui
;
3 import org
.argeo
.slc
.akb
.ui
.views
.AkbDefaultView
;
4 import org
.eclipse
.ui
.IFolderLayout
;
5 import org
.eclipse
.ui
.IPageLayout
;
6 import org
.eclipse
.ui
.IPerspectiveFactory
;
8 public class AkbTemplatesPerspective
implements IPerspectiveFactory
{
9 public static final String ID
= AkbUiPlugin
.PLUGIN_ID
+ ".akbTemplatesPerspective";
12 public void createInitialLayout(IPageLayout layout
) {
13 String editorArea
= layout
.getEditorArea();
14 layout
.setEditorAreaVisible(true);
15 layout
.setFixed(false);
17 IFolderLayout left
= layout
.createFolder("left", IPageLayout
.LEFT
,
19 left
.addView(AkbDefaultView
.ID
);