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
.Classification
;
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>ClassificationDetailSection class.</p>
24 * @created Sep 27, 2010
26 public class ClassificationDetailSection
extends AbstractCdmDetailSection
<Classification
> {
29 * <p>Constructor for ClassificationDetailSection.</p>
31 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
32 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
33 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
36 public ClassificationDetailSection(CdmFormFactory formFactory
,
37 ICdmFormElement parentElement
,
38 ISelectionProvider selectionProvider
, int style
) {
39 super(formFactory
, parentElement
, selectionProvider
, style
);
43 public void setEnabled(boolean enabled
) {
48 public String
getHeading() {
53 protected AbstractCdmDetailElement
<Classification
> createCdmDetailElement(AbstractCdmDetailSection
<Classification
> parentElement
, int style
) {
54 return formFactory
.createClassificationDetailElement(parentElement
);