1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
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.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.taxeditor.ui.section.description.detail;
|
11
|
|
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;
|
16
|
|
17
|
/**
|
18
|
* <p>Abstract AbstractDetailedDescriptionDetailElement class.</p>
|
19
|
*
|
20
|
* @author n.hoffmann
|
21
|
* @created Jun 10, 2010
|
22
|
* @version 1.0
|
23
|
*/
|
24
|
public abstract class AbstractDetailedDescriptionDetailElement<T extends DescriptionElementBase> extends AbstractCdmDetailElement<T>{
|
25
|
|
26
|
/**
|
27
|
* <p>Constructor for AbstractDetailedDescriptionDetailElement.</p>
|
28
|
*
|
29
|
* @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
|
30
|
* @param formElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
|
31
|
* @param entity a T object.
|
32
|
* @param style a int.
|
33
|
* @param <T> a T object.
|
34
|
*/
|
35
|
public AbstractDetailedDescriptionDetailElement(CdmFormFactory formFactory,
|
36
|
ICdmFormElement formElement, T entity, int style) {
|
37
|
super(formFactory, formElement);
|
38
|
setEntity(entity);
|
39
|
}
|
40
|
}
|