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
.api
.conversation
.ConversationHolder
;
15 import eu
.etaxonomy
.cdm
.model
.taxon
.Classification
;
16 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
18 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
19 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailSection
;
22 * <p>ClassificationDetailSection class.</p>
25 * @created Sep 27, 2010
28 public class ClassificationDetailSection
extends AbstractCdmDetailSection
<Classification
> {
31 * <p>Constructor for ClassificationDetailSection.</p>
33 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
34 * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
35 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
36 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
39 public ClassificationDetailSection(CdmFormFactory formFactory
,
40 ConversationHolder conversation
, ICdmFormElement parentElement
,
41 ISelectionProvider selectionProvider
, int style
) {
42 super(formFactory
, conversation
, parentElement
, selectionProvider
, style
);
46 * @see eu.etaxonomy.taxeditor.forms.IEnableableFormElement#setEnabled(boolean)
50 public void setEnabled(boolean enabled
) {
55 * @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getHeading()
59 public String
getHeading() {
64 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
67 protected AbstractCdmDetailElement
<Classification
> createCdmDetailElement(AbstractCdmDetailSection
<Classification
> parentElement
, int style
) {
68 return formFactory
.createClassificationDetailElement(parentElement
);