2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
9 package eu
.etaxonomy
.taxeditor
.perspective
;
11 import org
.eclipse
.ui
.IFolderLayout
;
12 import org
.eclipse
.ui
.IPageLayout
;
14 import eu
.etaxonomy
.taxeditor
.editor
.AppModelId
;
18 * @created Nov 18, 2014
20 public class ChecklistPerspective
extends Default
{
23 public void createInitialLayout(IPageLayout layout
) {
24 IFolderLayout navigationFolder
= layout
.createFolder("navigation",
25 IPageLayout
.LEFT
, 0.25f
, layout
.getEditorArea());
27 navigationFolder
.addView(NAVIGATOR
);
28 navigationFolder
.addPlaceholder(SEARCH_RESULTS
);
29 navigationFolder
.addPlaceholder(AppModelId
.PARTDESCRIPTOR_EU_ETAXONOMY_TAXEDITOR_EDITOR_DESCRIPTIVEDATASET_DESCRIPTIVEDATASETNAVIGATOR
);
31 layout
.addPlaceholder(NAME_EDITOR
, IPageLayout
.BOTTOM
, 0.25f
, layout
.getEditorArea());
33 layout
.addView(DETAILS_VIEW
, IPageLayout
.RIGHT
, 0.6f
, layout
.getEditorArea());
34 IFolderLayout supplementalFolder
= layout
.createFolder(SUPPLEMENTAL_VIEW
+"stack", IPageLayout
.BOTTOM
, 0.6f
, DETAILS_VIEW
);
35 supplementalFolder
.addView(SUPPLEMENTAL_VIEW
);
37 supplementalFolder
.addPlaceholder(REFERENCING_VIEW
);
39 layout
.addView(FACTUAL_DATA_VIEW
, IPageLayout
.BOTTOM
, 0.6f
, layout
.getEditorArea());
40 layout
.addPlaceholder(MEDIA_VIEW
, IPageLayout
.RIGHT
, 0.5f
, FACTUAL_DATA_VIEW
);
42 createAdditionalFolder(layout
, layout
.getEditorArea());