merge-update from trunk
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / description / DescriptionElementDetailElement.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 eu.etaxonomy.cdm.model.description.DescriptionElementBase;
14 import eu.etaxonomy.taxeditor.ui.campanula.compatibility.ICdmFormElement;
15 import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
16 import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement;
17
18 /**
19 * <p>DescriptionElementDetailElement class.</p>
20 *
21 * @author n.hoffmann
22 * @created Mar 5, 2010
23 * @version 1.0
24 */
25 public class DescriptionElementDetailElement extends
26 AbstractCdmDetailElement<DescriptionElementBase> {
27
28 /**
29 * <p>Constructor for DescriptionElementDetailElement.</p>
30 *
31 * @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
32 * @param formElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
33 * @param style a int.
34 */
35 public DescriptionElementDetailElement(CdmFormFactory cdmFormFactory,
36 ICdmFormElement formElement, int style) {
37 super(cdmFormFactory, formElement);
38 }
39
40 /** {@inheritDoc} */
41 @Override
42 protected void createControls(ICdmFormElement formElement, DescriptionElementBase entity, int style) {
43 formFactory.createDetailedDescriptionDetailElement(formElement, entity, style);
44 }
45
46 /** {@inheritDoc} */
47 @Override
48 public void handleEvent(Object eventSource) {
49
50 }
51 }