merged campanula branch to trunk. Main features are: BioCase Query via Imports, Deriv...
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / ui / section / description / detail / AbstractDetailedDescriptionDetailElement.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.detail;
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>Abstract AbstractDetailedDescriptionDetailElement class.</p>
20 *
21 * @author n.hoffmann
22 * @created Jun 10, 2010
23 * @version 1.0
24 */
25 public abstract class AbstractDetailedDescriptionDetailElement<T extends DescriptionElementBase> extends AbstractCdmDetailElement<T>{
26
27 /**
28 * <p>Constructor for AbstractDetailedDescriptionDetailElement.</p>
29 *
30 * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
31 * @param formElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
32 * @param entity a T object.
33 * @param style a int.
34 * @param <T> a T object.
35 */
36 public AbstractDetailedDescriptionDetailElement(CdmFormFactory formFactory,
37 ICdmFormElement formElement, T entity, int style) {
38 super(formFactory, formElement);
39 setEntity(entity);
40 }
41 }