1
|
package eu.etaxonomy.taxeditor.navigation;
|
2
|
|
3
|
import org.eclipse.ui.IPageLayout;
|
4
|
import org.eclipse.ui.IPerspectiveFactory;
|
5
|
|
6
|
public class Perspective implements IPerspectiveFactory {
|
7
|
|
8
|
public void createInitialLayout(IPageLayout layout) {
|
9
|
String editorArea = layout.getEditorArea();
|
10
|
layout.setEditorAreaVisible(false);
|
11
|
layout.setFixed(true);
|
12
|
|
13
|
layout.addView("eu.etaxonomy.taxeditor.navigation.taxonomictree.treeView", IPageLayout.LEFT, 1.0f, editorArea);
|
14
|
layout.addView("eu.etaxonomy.taxeditor.navigation.search.searchView", IPageLayout.LEFT, 1.0f, editorArea);
|
15
|
}
|
16
|
}
|