Taxonomic tree and recent name data binding works, including for adding taxonomic...
[taxeditor.git] / eclipseprojects / eu.etaxonomy.taxeditor.prototype2 / src / eu / etaxonomy / taxeditor / prototype2 / Perspective.java
1 package eu.etaxonomy.taxeditor.prototype2;
2
3 import org.eclipse.ui.IPageLayout;
4 import org.eclipse.ui.IPerspectiveFactory;
5
6 import eu.etaxonomy.taxeditor.prototype2.view.NameListView;
7
8 public class Perspective implements IPerspectiveFactory {
9
10 public static final String ID = "eu.etaxonomy.taxeditor.prototype2.perspective";
11
12 public void createInitialLayout(IPageLayout layout) {
13 String editorArea = layout.getEditorArea();
14 layout.addStandaloneView(NameListView.ID, false, IPageLayout.LEFT, 0.30f, editorArea);
15 // layout.addView(UndoView.ID, IPageLayout.BOTTOM, 0.8f, editorArea);
16 layout.getViewLayout(NameListView.ID).setCloseable(false);
17 addFastViews(layout);
18 }
19 private void addFastViews(IPageLayout layout) {
20 System.currentTimeMillis();
21 }
22 }