Merge branch 'hotfix/5.45.1'
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / classification / ClassificationDetailSection.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.taxeditor.ui.section.classification;
11
12 import org.eclipse.jface.viewers.ISelectionProvider;
13
14 import eu.etaxonomy.cdm.model.taxon.Classification;
15 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
16 import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
17 import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
18 import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailSection;
19
20 /**
21 * <p>ClassificationDetailSection class.</p>
22 *
23 * @author n.hoffmann
24 * @created Sep 27, 2010
25 */
26 public class ClassificationDetailSection extends AbstractCdmDetailSection<Classification> {
27
28 /**
29 * <p>Constructor for ClassificationDetailSection.</p>
30 *
31 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
32 * @param parentElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
33 * @param selectionProvider a {@link org.eclipse.jface.viewers.ISelectionProvider} object.
34 * @param style a int.
35 */
36 public ClassificationDetailSection(CdmFormFactory formFactory,
37 ICdmFormElement parentElement,
38 ISelectionProvider selectionProvider, int style) {
39 super(formFactory, parentElement, selectionProvider, style);
40 }
41
42 @Override
43 public void setEnabled(boolean enabled) {
44
45 }
46
47 @Override
48 public String getHeading() {
49 return null;
50 }
51
52 @Override
53 protected AbstractCdmDetailElement<Classification> createCdmDetailElement(AbstractCdmDetailSection<Classification> parentElement, int style) {
54 return formFactory.createClassificationDetailElement(parentElement);
55 }
56 }