Project

General

Profile

Download (1.18 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
/**
16
 * @author a.oppermann
17
 * @created Nov 18, 2014
18
 * @version 1.0
19
 */
20
public class ChecklistPerspective extends Default {
21

    
22
	/*
23
	 * (non-Javadoc)
24
	 *
25
	 * @see
26
	 * org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui
27
	 * .IPageLayout)
28
	 */
29
	@Override
30
	public void createInitialLayout(IPageLayout layout) {
31
		IFolderLayout navigationFolder = layout.createFolder("navigation",
32
				IPageLayout.LEFT, 0.25f, layout.getEditorArea());
33

    
34
		navigationFolder.addView(NAVIGATOR);
35
		navigationFolder.addPlaceholder(SEARCH_RESULTS);
36

    
37
		IFolderLayout folder = layout.createFolder("Folder", IPageLayout.BOTTOM, 0.6f, layout.getEditorArea());
38
		folder.addView(FACTUAL_DATA_VIEW);
39
		folder.addView(DETAILS_VIEW);
40
//		folder.addView(MediaViewPart.ID);
41

    
42
//		createAdditionalFolder(layout, layout.getEditorArea());
43
	}
44
}
(1-1/7)