Project

General

Profile

Download (1.4 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
* Copyright (C) 2007 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

    
10
package eu.etaxonomy.taxeditor.perspective;
11

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

    
15
import eu.etaxonomy.taxeditor.navigation.search.SearchBar;
16

    
17
/**
18
 * @author n.hoffmann
19
 * @created Jan 17, 2011
20
 * @version 1.0
21
 */
22
public class WorkingSetPerspective extends Default {
23

    
24
    @Override
25
	public void createInitialLayout(IPageLayout layout) {
26
		IFolderLayout navigationFolder = layout.createFolder(SearchBar.NAVIGATION_STACK_ID, IPageLayout.LEFT, 0.2f, layout.getEditorArea());
27

    
28
		navigationFolder.addView(NAVIGATOR);
29
		navigationFolder.addPlaceholder(SEARCH_RESULTS);
30
		layout.addView("eu.etaxonomy.taxeditor.editor.workingSet.WorkingSetNavigator", IPageLayout.BOTTOM, 0.5f, SearchBar.NAVIGATION_STACK_ID);
31

    
32
		layout.addPlaceholder("eu.etaxonomy.taxeditor.editor.view.workingSet.WorkingSetEditor", IPageLayout.BOTTOM, 0.25f, layout.getEditorArea());
33
		layout.addPlaceholder("eu.etaxonomy.taxeditor.editor.workingSet.matrix.CharacterMatrix", IPageLayout.BOTTOM, 0.25f, layout.getEditorArea());
34

    
35
		layout.addView(DETAILS_VIEW, IPageLayout.RIGHT, 0.7f, layout.getEditorArea());
36

    
37
		createAdditionalFolder(layout, layout.getEditorArea());
38
	}
39
}
(7-7/7)