* The contents of this file are subject to the Mozilla Public License Version 1.1
* See LICENSE.TXT at the top of this package for the full license terms.
*/
-
package eu.etaxonomy.taxeditor.ui.section.description.detail;
import java.util.List;
import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
/**
- * <p>CommonNameDetailElement class.</p>
- *
* @author n.hoffmann
* @created Jun 10, 2010
- * @version 1.0
*/
public class CommonNameDetailElement extends AbstractDetailedDescriptionDetailElement<CommonTaxonName> {
private EntitySelectionElement<NamedArea> selection_namedArea;
private TextWithLabelElement commonName;
-
/**
* <p>Constructor for CommonNameDetailElement.</p>
- *
- * @param formFactory a {@link eu.etaxonomy.taxeditor.ui.element.CdmFormFactory} object.
- * @param formElement a {@link eu.etaxonomy.taxeditor.ui.element.ICdmFormElement} object.
- * @param entity a {@link eu.etaxonomy.cdm.model.description.CommonTaxonName} object.
- * @param style a int.
*/
public CommonNameDetailElement(CdmFormFactory formFactory,
ICdmFormElement formElement, CommonTaxonName entity, boolean enabled, int style) {
super(formFactory, formElement, entity, enabled, style);
}
- /** {@inheritDoc} */
@Override
protected void createControls(ICdmFormElement formElement,
CommonTaxonName entity, int style) {
}else{
createFreetextModifier(formElement, entity, style);
}
-
}
-
-
- /** {@inheritDoc} */
@Override
public void handleEvent(Object eventSource) {
super.handleEvent(eventSource);
selection_namedArea.setEntity(getEntity().getArea());
commonName.setText(getEntity().getName());
}
-
-
}
-
-}
+}
\ No newline at end of file