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
.description
;
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
;
19 * <p>DescriptionElementDetailElement class.</p>
22 * @created Mar 5, 2010
25 public class DescriptionElementDetailElement
extends
26 AbstractCdmDetailElement
<DescriptionElementBase
> {
29 * <p>Constructor for DescriptionElementDetailElement.</p>
31 * @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
32 * @param formElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
35 public DescriptionElementDetailElement(CdmFormFactory cdmFormFactory
,
36 ICdmFormElement formElement
, int style
) {
37 super(cdmFormFactory
, formElement
);
42 protected void createControls(ICdmFormElement formElement
, DescriptionElementBase entity
, int style
) {
43 formFactory
.createDetailedDescriptionDetailElement(formElement
, entity
, style
);
48 public void handleEvent(Object eventSource
) {