1 package eu
.etaxonomy
.taxeditor
;
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();
11 //layout.setEditorAreaVisible(false);
12 layout
.setEditorAreaVisible(true);
14 /*layout.addStandaloneView(NavigationView.ID, false, IPageLayout.LEFT, 0.25f, editorArea);
15 IFolderLayout folder = layout.createFolder("messages", IPageLayout.TOP, 0.5f, editorArea);
16 folder.addPlaceholder(View.ID + ":*");
17 folder.addView(View.ID);
18 folder.addPlaceholder(FormView.ID + ":*");
19 folder.addView(FormView.ID);*/
21 //layout.addStandaloneView(View.ID, false, IPageLayout.RIGHT, 0.75f, editorArea);
23 //layout.getViewLayout(NavigationView.ID).setCloseable(false);
25 layout
.addActionSet("eu.etaxonomy.taxeditor.actionSet");