Mockup with Master-Details page.
[taxeditor.git] / src / eu / etaxonomy / taxeditor / Perspective.java
index d99ea36f9d54bb71a78b8a7d82f743289fccbb50..77ba8e845f93f11aba4d93026caf501e9d3419cb 100644 (file)
@@ -8,13 +8,20 @@ public class Perspective implements IPerspectiveFactory {
 
        public void createInitialLayout(IPageLayout layout) {
                String editorArea = layout.getEditorArea();
-               layout.setEditorAreaVisible(false);
+               //layout.setEditorAreaVisible(false);
+               layout.setEditorAreaVisible(true);
                
                layout.addStandaloneView(NavigationView.ID,  false, IPageLayout.LEFT, 0.25f, editorArea);
                IFolderLayout folder = layout.createFolder("messages", IPageLayout.TOP, 0.5f, editorArea);
                folder.addPlaceholder(View.ID + ":*");
                folder.addView(View.ID);
+               folder.addPlaceholder(FormView.ID + ":*");
+               folder.addView(FormView.ID);
                
+               //layout.addStandaloneView(View.ID, false, IPageLayout.RIGHT, 0.75f, editorArea);
+
                layout.getViewLayout(NavigationView.ID).setCloseable(false);
+                               
+               layout.addActionSet("eu.etaxonomy.taxeditor.actionSet");
        }
 }