Project

General

Profile

Download (1.21 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * Copyright (C) 2013 EDIT
3
 * European Distributed Institute of Taxonomy
4
 * http://www.e-taxonomy.eu
5
 *
6
 * The contents of this file are subject to the Mozilla Public License Version 1.1
7
 * See LICENSE.TXT at the top of this package for the full license terms.
8
 */
9
package eu.etaxonomy.taxeditor.perspective;
10

    
11
import org.eclipse.ui.IFolderLayout;
12
import org.eclipse.ui.IPageLayout;
13

    
14
import eu.etaxonomy.taxeditor.editor.AppModelId;
15
import eu.etaxonomy.taxeditor.navigation.search.SearchBar;
16

    
17
/**
18
 * @author pplitzner
19
 * @date 10.12.2013
20
 *
21
 */
22
public class DerivatePerspective extends Default {
23

    
24
    @Override
25
    public void createInitialLayout(IPageLayout layout) {
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

    
32

    
33
        layout.addView(DETAILS_VIEW, IPageLayout.RIGHT, 0.6f, layout.getEditorArea());
34

    
35
        layout.addView(FACTUAL_DATA_VIEW, IPageLayout.BOTTOM, 0.6f, NAVIGATOR);
36

    
37
    }
38

    
39
}
(3-3/7)