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 org
.apache
.log4j
.Logger
;
15 import eu
.etaxonomy
.cdm
.model
.description
.DescriptionElementBase
;
16 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
17 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
18 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
19 import eu
.etaxonomy
.taxeditor
.ui
.section
.description
.detail
.AbstractDetailedDescriptionDetailElement
;
22 * <p>DescriptionElementDetailElement class.</p>
25 * @created Mar 5, 2010
28 public class DescriptionElementDetailElement
extends
29 AbstractCdmDetailElement
<DescriptionElementBase
> {
32 private static final Logger logger
= Logger
33 .getLogger(DescriptionElementDetailElement
.class);
34 private AbstractDetailedDescriptionDetailElement detailElement
;
37 * <p>Constructor for DescriptionElementDetailElement.</p>
39 * @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
40 * @param formElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
43 public DescriptionElementDetailElement(CdmFormFactory cdmFormFactory
,
44 ICdmFormElement formElement
, int style
) {
45 super(cdmFormFactory
, formElement
);
50 protected void createControls(ICdmFormElement formElement
, DescriptionElementBase entity
, int style
) {
51 detailElement
= formFactory
.createDetailedDescriptionDetailElement(formElement
, entity
, style
);
56 public void handleEvent(Object eventSource
) {