3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.ui
.section
.taxon
;
12 import org
.eclipse
.jface
.viewers
.ISelectionProvider
;
14 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
15 import eu
.etaxonomy
.cdm
.model
.taxon
.TaxonRelationship
;
16 import eu
.etaxonomy
.taxeditor
.ui
.campanula
.compatibility
.ICdmFormElement
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
18 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
19 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailSection
;
26 public class TaxonRelationshipDetailSection
extends AbstractCdmDetailSection
<TaxonRelationship
>{
28 public TaxonRelationshipDetailSection(CdmFormFactory formFactory
,
29 ConversationHolder conversation
, ICdmFormElement parentElement
,
30 ISelectionProvider selectionProvider
, int style
) {
31 super(formFactory
, conversation
, parentElement
, selectionProvider
, style
);
35 public String
getHeading() {
36 return "Taxon Relationship";
40 * @see eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection#createCdmDetailElement(eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection, int)
43 protected AbstractCdmDetailElement
<TaxonRelationship
> createCdmDetailElement(AbstractCdmDetailSection
<TaxonRelationship
> parentElement
, int style
) {
44 return formFactory
.createTaxonRelationshipDetailElement(parentElement
);