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.
10 package eu
.etaxonomy
.taxeditor
.ui
.section
.classification
;
12 import org
.eclipse
.jface
.viewers
.ISelectionProvider
;
14 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonNode
;
15 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
16 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
17 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
18 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailSection
;
21 * <p>TaxonNodeDetailSection class.</p>
24 * @created Sep 27, 2010
27 public class TaxonNodeDetailSection
extends AbstractCdmDetailSection
<TaxonNode
> {
30 * <p>Constructor for TaxonNodeDetailSection.</p>
32 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
33 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
34 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
37 public TaxonNodeDetailSection(CdmFormFactory formFactory
,
38 ICdmFormElement parentElement
,
39 ISelectionProvider selectionProvider
, int style
) {
40 super(formFactory
, parentElement
, selectionProvider
, style
);
44 public String
getHeading() {
49 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
52 protected AbstractCdmDetailElement
createCdmDetailElement(AbstractCdmDetailSection
<TaxonNode
> parentElement
, int style
) {
54 return formFactory
.createTaxonNodeDetailElement(parentElement
, false);