import eu.etaxonomy.taxeditor.forms.term.SpecimenTypeDesignationStatusComboElement;
/**
+ * <p>SpecimenTypeDesignationElement class.</p>
+ *
* @author n.hoffmann
* @created May 17, 2010
* @version 1.0
private DerivedUnitBaseSelectionElement selection_typeSpecimen;
private TextWithLabelElement text_specimenTypeText;
+ /**
+ * <p>Constructor for SpecimenTypeDesignationElement.</p>
+ *
+ * @param formFactory a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object.
+ * @param section a {@link eu.etaxonomy.taxeditor.forms.AbstractFormSection} object.
+ * @param entity a {@link eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation} object.
+ * @param removeListener a {@link org.eclipse.swt.events.SelectionListener} object.
+ * @param style a int.
+ */
public SpecimenTypeDesignationElement(CdmFormFactory formFactory,
AbstractFormSection section, SpecimenTypeDesignation entity,
SelectionListener removeListener, int style) {
super(formFactory, section, entity, removeListener, style);
}
+ /** {@inheritDoc} */
@Override
public void createControls(ICdmFormElement formElement, int style) {
// TODO until we do not have a specimen editor we will provide a simple text interface to enter specimen
super.createControls(formElement, style);
}
+ /** {@inheritDoc} */
@Override
public void setEntity(SpecimenTypeDesignation entity) {
super.setEntity(entity);
checkbox_notDesignated.setSelection(entity.isNotDesignated());
}
+ /** {@inheritDoc} */
@Override
public void handleEvent(Object eventSource) {
if(eventSource == combo_typeStatus){