Revision 23783f7a
Added by Niels Hoffmann about 12 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/description/DescriptionElementDetailElement.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.taxeditor.ui.section.description; |
12 | 12 |
|
13 |
import org.apache.log4j.Logger; |
|
14 |
|
|
15 | 13 |
import eu.etaxonomy.cdm.model.description.DescriptionElementBase; |
16 | 14 |
import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory; |
17 | 15 |
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement; |
18 | 16 |
import eu.etaxonomy.taxeditor.ui.section.AbstractCdmDetailElement; |
19 |
import eu.etaxonomy.taxeditor.ui.section.description.detail.AbstractDetailedDescriptionDetailElement; |
|
20 | 17 |
|
21 | 18 |
/** |
22 | 19 |
* <p>DescriptionElementDetailElement class.</p> |
... | ... | |
28 | 25 |
public class DescriptionElementDetailElement extends |
29 | 26 |
AbstractCdmDetailElement<DescriptionElementBase> { |
30 | 27 |
|
31 |
|
|
32 |
private static final Logger logger = Logger |
|
33 |
.getLogger(DescriptionElementDetailElement.class); |
|
34 |
private AbstractDetailedDescriptionDetailElement detailElement; |
|
35 |
|
|
36 | 28 |
/** |
37 | 29 |
* <p>Constructor for DescriptionElementDetailElement.</p> |
38 | 30 |
* |
... | ... | |
48 | 40 |
/** {@inheritDoc} */ |
49 | 41 |
@Override |
50 | 42 |
protected void createControls(ICdmFormElement formElement, DescriptionElementBase entity, int style) { |
51 |
detailElement = formFactory.createDetailedDescriptionDetailElement(formElement, entity, style);
|
|
43 |
formFactory.createDetailedDescriptionDetailElement(formElement, entity, style); |
|
52 | 44 |
} |
53 | 45 |
|
54 | 46 |
/** {@inheritDoc} */ |
Also available in: Unified diff
Refactoring of selection elements. Additional minor refactoring. Fixed a bug with Translation Editor (#2752)