import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
import eu.etaxonomy.taxeditor.ui.element.CheckboxElement;
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
-import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory.SelectionType;
-import eu.etaxonomy.taxeditor.ui.selection.NameSelectionElement;
+import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
/**
* <p>
private CheckboxElement checkbox_rejectedType;
private CheckboxElement checkbox_conservedType;
- private NameSelectionElement selection_typeName;
+ private EntitySelectionElement<TaxonNameBase> selection_typeName;
private TermComboElement<NameTypeDesignationStatus> combo_typeStatus;
/**
"Rejected Type", false, style);
checkbox_conservedType = formFactory.createCheckbox(formElement,
"Conserved Type", false, style);
- selection_typeName = (NameSelectionElement) formFactory
- .createSelectionElement(SelectionType.NAME,
+ selection_typeName = formFactory
+ .createSelectionElement(TaxonNameBase.class,
getConversationHolder(), formElement, "Name", null,
- NameSelectionElement.DEFAULT, style);
+ EntitySelectionElement.ALL, style);
combo_typeStatus = formFactory.createTermComboElement(
NameTypeDesignationStatus.class, formElement,
"Designation Status", null, style);