AT: committing changes to the TaxEditor Post first round of code review
[taxeditor.git] / eu.etaxonomy.taxeditor.application / src / main / java / eu / etaxonomy / taxeditor / perspective / PalmUses.java
1 /**
2 *
3 */
4 package eu.etaxonomy.taxeditor.perspective;
5
6 import org.eclipse.ui.IPageLayout;
7
8
9
10 import eu.etaxonomy.taxeditor.editor.view.uses.UsesViewPart;
11 import eu.etaxonomy.taxeditor.navigation.navigator.TaxonNavigator;
12 import eu.etaxonomy.taxeditor.view.detail.DetailsViewPart;
13
14 /**
15 * The context manager mediates context start/stop and workbench shutdowns to all registered listeners.
16 *
17 * @author a.theys
18 * @created mar 13, 2012
19 * @version 1.0
20 */
21 public class PalmUses extends Default {
22
23 /* (non-Javadoc)
24 * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)
25 */
26 @Override
27 public void createInitialLayout(IPageLayout layout) {
28 layout.addView(TaxonNavigator.ID, IPageLayout.LEFT, 0.25f, layout.getEditorArea());
29 //layout.addView(UseRecordsViewPart.ID, IPageLayout.RIGHT, 0.25f, layout.getEditorArea());
30 layout.addView(DetailsViewPart.ID, IPageLayout.RIGHT, 0.25f, layout.getEditorArea());
31 layout.addView(UsesViewPart.ID, IPageLayout.BOTTOM, 0.25f, layout.getEditorArea());
32
33 createAdditionalFolder(layout, layout.getEditorArea());
34 }
35
36
37 }
38