Revision a834bc59
Added by Patrick Plitzner almost 6 years ago
eu.etaxonomy.taxeditor.application/src/main/java/eu/etaxonomy/taxeditor/perspective/DerivatePerspective.java | ||
---|---|---|
8 | 8 |
*/ |
9 | 9 |
package eu.etaxonomy.taxeditor.perspective; |
10 | 10 |
|
11 |
import org.eclipse.ui.IFolderLayout; |
|
11 | 12 |
import org.eclipse.ui.IPageLayout; |
12 | 13 |
|
14 |
import eu.etaxonomy.taxeditor.editor.AppModelId; |
|
15 |
import eu.etaxonomy.taxeditor.navigation.search.SearchBar; |
|
16 |
|
|
13 | 17 |
/** |
14 | 18 |
* @author pplitzner |
15 | 19 |
* @date 10.12.2013 |
... | ... | |
19 | 23 |
|
20 | 24 |
@Override |
21 | 25 |
public void createInitialLayout(IPageLayout layout) { |
22 |
layout.addView(NAVIGATOR, IPageLayout.LEFT, 0.25f, layout.getEditorArea()); |
|
26 |
IFolderLayout navigationFolder = layout.createFolder(SearchBar.NAVIGATION_STACK_ID, IPageLayout.LEFT, 0.25f, layout.getEditorArea()); |
|
27 |
|
|
28 |
navigationFolder.addView(NAVIGATOR); |
|
29 |
navigationFolder.addPlaceholder(SEARCH_RESULTS); |
|
30 |
navigationFolder.addPlaceholder(AppModelId.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_EDITOR_DESCRIPTIVEDATASET_DESCRIPTIVEDATASETNAVIGATOR); |
|
31 |
|
|
23 | 32 |
|
24 | 33 |
layout.addView(DETAILS_VIEW, IPageLayout.RIGHT, 0.6f, layout.getEditorArea()); |
25 | 34 |
|
Also available in: Unified diff
Add descriptive data views/editors to perspectives