1 package eu
.etaxonomy
.taxeditor
.ui
.section
.taxon
;
3 import org
.eclipse
.jface
.viewers
.ISelectionProvider
;
5 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
6 import eu
.etaxonomy
.cdm
.model
.taxon
.Taxon
;
7 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonBase
;
8 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
9 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
10 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
11 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailSection
;
12 import eu
.etaxonomy
.taxeditor
.ui
.section
.ICdmDetailElement
;
14 public class TaxonDetailSection
extends AbstractCdmDetailSection
<Taxon
> {
17 public TaxonDetailSection(CdmFormFactory cdmFormFactory
, ConversationHolder conversation
, ICdmFormElement parentElement
, ISelectionProvider selectionProvider
, int style
) {
18 super(cdmFormFactory
, conversation
, parentElement
, selectionProvider
, style
);
24 public String
getHeading() {
25 return getEntity() != null ?
getEntity().getClass().getSimpleName() : "Taxon";
29 protected AbstractCdmDetailElement
<Taxon
> createCdmDetailElement(AbstractCdmDetailSection
<Taxon
> parentElement
, int style
) {
30 return formFactory
.createTaxonOfRelationshipDetailElement(parentElement
, style
);
33 public void setTaxon(Taxon fromTaxon
) {
34 // TODO Auto-generated method stub