1 package eu
.etaxonomy
.taxeditor
.editor
;
3 import org
.eclipse
.ui
.IFolderLayout
;
4 import org
.eclipse
.ui
.IPageLayout
;
5 import org
.eclipse
.ui
.IPerspectiveFactory
;
7 public class Perspective
implements IPerspectiveFactory
{
9 public void createInitialLayout(IPageLayout layout
) {
10 String editorArea
= layout
.getEditorArea();
12 IFolderLayout folderLayoutRight
= layout
.createFolder("rightfolder", IPageLayout
.RIGHT
, 0.5f
, editorArea
);
13 folderLayoutRight
.addView(IPageLayout
.ID_PROP_SHEET
);
15 layout
.getViewLayout(IPageLayout
.ID_PROP_SHEET
).setCloseable(false);
16 layout
.getViewLayout(IPageLayout
.ID_PROP_SHEET
);
17 layout
.getViewLayout("").setCloseable(false);