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
.section
.feature
;
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
.description
.Feature
;
18 import eu
.etaxonomy
.taxeditor
.forms
.CdmFormFactory
;
19 import eu
.etaxonomy
.taxeditor
.forms
.CdmFormFactory
.DetailType
;
20 import eu
.etaxonomy
.taxeditor
.forms
.ICdmFormElement
;
21 import eu
.etaxonomy
.taxeditor
.section
.AbstractCdmDetailSection
;
24 * <p>FeatureDistributionDetailSection class.</p>
27 * @created Sep 23, 2010
30 public class FeatureDistributionDetailSection
extends AbstractCdmDetailSection
<Feature
> {
33 private static final Logger logger
= Logger
34 .getLogger(FeatureDistributionDetailSection
.class);
37 * <p>Constructor for FeatureDistributionDetailSection.</p>
39 * @param formFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object.
40 * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
41 * @param parentElement a {@link eu.etaxonomy.taxeditor.forms.ICdmFormElement} object.
42 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
45 public FeatureDistributionDetailSection(CdmFormFactory formFactory
,
46 ConversationHolder conversation
, ICdmFormElement parentElement
,
47 ISelectionProvider selectionProvider
, int style
) {
48 super(formFactory
, conversation
, parentElement
, selectionProvider
, style
);
52 * @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getDetailType()
56 protected DetailType
getDetailType() {
57 return DetailType
.FEATURE_DISTRIBUTION
;
61 * @see eu.etaxonomy.taxeditor.section.AbstractCdmDetailSection#getHeading()
65 public String
getHeading() {
66 return "Distribution Map";