had to rename the packages to make them compliant with buckminster
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / description / DescriptionDetailSection.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
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.
9 */
10
11 package eu.etaxonomy.taxeditor.ui.section.description;
12
13 import org.apache.log4j.Logger;
14 import org.eclipse.jface.viewers.ISelectionProvider;
15
16 import eu.etaxonomy.cdm.api.conversation.ConversationHolder;
17 import eu.etaxonomy.cdm.model.description.DescriptionBase;
18 import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory;
19 import eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement;
20 import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory.DetailType;
21 import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
22
23 /**
24 * <p>DescriptionDetailSection class.</p>
25 *
26 * @author n.hoffmann
27 * @created Mar 5, 2010
28 * @version 1.0
29 */
30 public class DescriptionDetailSection extends AbstractCdmDetailSection<DescriptionBase> {
31
32 private static final Logger logger = Logger
33 .getLogger(DescriptionDetailSection.class);
34
35 /**
36 * <p>Constructor for DescriptionDetailSection.</p>
37 *
38 * @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory} object.
39 * @param conversation a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
40 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.forms.ICdmFormElement} object.
41 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
42 * @param style a int.
43 */
44 public DescriptionDetailSection(CdmFormFactory cdmFormFactory, ConversationHolder conversation,
45 ICdmFormElement parentElement, ISelectionProvider selectionProvider, int style) {
46 super(cdmFormFactory, conversation, parentElement, selectionProvider, style);
47
48 }
49
50 /** {@inheritDoc} */
51 @Override
52 public String getHeading() {
53 return "Description";
54 }
55
56 /** {@inheritDoc} */
57 @Override
58 protected DetailType getDetailType() {
59 return DetailType.DESCRIPTION;
60 }
61 }