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
.description
;
12 import org
.eclipse
.jface
.viewers
.ISelectionProvider
;
14 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
15 import eu
.etaxonomy
.cdm
.model
.description
.DescriptionBase
;
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>DescriptionDetailSection class.</p>
25 * @created Mar 5, 2010
27 public class DescriptionDetailSection
extends AbstractCdmDetailSection
<DescriptionBase
<?
>> {
30 * <p>Constructor for DescriptionDetailSection.</p>
32 * @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
33 * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
34 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
35 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
38 public DescriptionDetailSection(CdmFormFactory cdmFormFactory
, ConversationHolder conversation
,
39 ICdmFormElement parentElement
, ISelectionProvider selectionProvider
, int style
) {
40 super(cdmFormFactory
, conversation
, parentElement
, selectionProvider
, style
);
45 public String
getHeading() {
50 protected AbstractCdmDetailElement
<DescriptionBase
<?
>> createCdmDetailElement(AbstractCdmDetailSection
<DescriptionBase
<?
>> parentElement
, int style
) {
51 return formFactory
.createDescriptionDetailElement(parentElement
, style
);