3 * Copyright (C) 2014 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.
10 package eu
.etaxonomy
.taxeditor
.ui
.element
;
12 import eu
.etaxonomy
.cdm
.api
.facade
.DerivedUnitFacade
;
13 import eu
.etaxonomy
.taxeditor
.ui
.mvc
.OriginalLabelDataField
;
14 import eu
.etaxonomy
.taxeditor
.ui
.section
.AbstractCdmDetailElement
;
21 public class OriginalLabelDataElement
extends AbstractCdmDetailElement
<DerivedUnitFacade
> {
27 public OriginalLabelDataElement(CdmFormFactory formFactory
,
28 ICdmFormElement formElement
) {
29 super(formFactory
, formElement
);
36 * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#createControls
37 * (eu.etaxonomy.taxeditor.forms.ICdmFormElement, java.lang.Object, int)
40 protected void createControls(ICdmFormElement formElement
,
41 DerivedUnitFacade entity
, int style
) {
42 OriginalLabelDataField originalLabelDataField
= new OriginalLabelDataField(formElement
.getLayoutComposite(), style
, entity
.innerDerivedUnit(), getFormFactory());
43 originalLabelDataField
.setLayoutData(LayoutConstants
.FILL_HORIZONTALLY());
50 * eu.etaxonomy.taxeditor.section.AbstractCdmDetailElement#handleEvent(java
54 public void handleEvent(Object eventSource
) {