3 * Copyright (C) 2007 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.
11 package eu
.etaxonomy
.taxeditor
.ui
.section
.occurrence
;
13 import org
.apache
.log4j
.Logger
;
14 import org
.eclipse
.jface
.viewers
.ISelectionProvider
;
16 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
17 import eu
.etaxonomy
.cdm
.model
.occurrence
.DerivedUnitBase
;
18 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
19 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
20 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
.DetailType
;
21 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailSection
;
24 * <p>DerivedUnitFacadeDetailSection class.</p>
27 * @created Jun 17, 2010
30 public class DerivedUnitFacadeDetailSection
extends AbstractCdmDetailSection
<DerivedUnitBase
> {
33 private static final Logger logger
= Logger
34 .getLogger(DerivedUnitFacadeDetailSection
.class);
37 * <p>Constructor for DerivedUnitFacadeDetailSection.</p>
39 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
40 * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
41 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
42 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
45 public DerivedUnitFacadeDetailSection(CdmFormFactory formFactory
, ConversationHolder conversation
,
46 ICdmFormElement parentElement
,
47 ISelectionProvider selectionProvider
, int style
) {
48 super(formFactory
, conversation
, parentElement
, selectionProvider
, style
);
53 protected DetailType
getDetailType() {
54 return DetailType
.DERIVED_UNIT_FACADE
;
59 public String
getHeading() {