2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.ui
.section
.description
;
12 import eu
.etaxonomy
.cdm
.model
.description
.DescriptionElementBase
;
13 import eu
.etaxonomy
.taxeditor
.ui
.element
.CdmFormFactory
;
14 import eu
.etaxonomy
.taxeditor
.ui
.element
.ICdmFormElement
;
15 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
18 * <p>DescriptionElementDetailElement class.</p>
21 * @created Mar 5, 2010
24 public class DescriptionElementDetailElement
extends
25 AbstractCdmDetailElement
<DescriptionElementBase
> {
28 * <p>Constructor for DescriptionElementDetailElement.</p>
30 * @param cdmFormFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
31 * @param formElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
34 public DescriptionElementDetailElement(CdmFormFactory cdmFormFactory
,
35 ICdmFormElement formElement
, int style
) {
36 super(cdmFormFactory
, formElement
);
41 protected void createControls(ICdmFormElement formElement
, DescriptionElementBase entity
, int style
) {
42 formFactory
.createDetailedDescriptionDetailElement(formElement
, entity
, style
);
47 public void handleEvent(Object eventSource
) {