2 * Copyright (C) 2009 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
.ui
.section
.feature
;
11 import org
.eclipse
.jface
.viewers
.ISelectionProvider
;
13 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
14 import eu
.etaxonomy
.cdm
.model
.term
.TermTree
;
15 import eu
.etaxonomy
.cdm
.persistence
.dto
.TermTreeDto
;
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
;
27 public class FeatureTreeDetailSection
extends AbstractCdmDetailSection
<TermTreeDto
> {
29 public FeatureTreeDetailSection(CdmFormFactory formFactory
,
30 ConversationHolder conversation
, ICdmFormElement parentElement
,
31 ISelectionProvider selectionProvider
, int style
) {
32 super(formFactory
, conversation
, parentElement
, selectionProvider
, style
);
36 public String
getHeading() {
37 return TermTree
.class.getSimpleName();
44 protected AbstractCdmDetailElement
<TermTreeDto
> createCdmDetailElement(AbstractCdmDetailSection
<TermTreeDto
> parentElement
,
46 return formFactory
.createFeatureTreeDetailElement(parentElement
, style
);