2 * Copyright (C) 2013 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
.IPageLayout
;
12 import org
.eclipse
.ui
.progress
.IProgressConstants
;
14 import eu
.etaxonomy
.taxeditor
.editor
.view
.descriptive
.DescriptiveViewPart
;
15 import eu
.etaxonomy
.taxeditor
.navigation
.navigator
.TaxonNavigator
;
16 import eu
.etaxonomy
.taxeditor
.view
.datasource
.CdmDataSourceViewPart
;
17 import eu
.etaxonomy
.taxeditor
.view
.detail
.DetailsViewPart
;
24 public class DerivatePerspective
extends Default
{
27 public void createInitialLayout(IPageLayout layout
) {
28 layout
.addView(TaxonNavigator
.ID
, IPageLayout
.LEFT
, 0.25f
, layout
.getEditorArea());
30 layout
.addView(DetailsViewPart
.ID
, IPageLayout
.RIGHT
, 0.6f
, layout
.getEditorArea());
32 layout
.addView(DescriptiveViewPart
.ID
, IPageLayout
.BOTTOM
, 0.6f
, TaxonNavigator
.ID
);
34 folderAdditional
= layout
.createPlaceholderFolder(ADDITIONAL
, IPageLayout
.BOTTOM
, 0.6f
, TaxonNavigator
.ID
);
36 folderAdditional
.addPlaceholder(CdmDataSourceViewPart
.ID
);
37 folderAdditional
.addPlaceholder(IProgressConstants
.PROGRESS_VIEW_ID
);