import eu.etaxonomy.taxeditor.ui.element.CdmFormFactory;
import eu.etaxonomy.taxeditor.ui.element.ICdmFormElement;
import eu.etaxonomy.taxeditor.ui.section.AbstractEntityCollectionElement;
-import eu.etaxonomy.taxeditor.ui.selection.NamedAreaSelectionElement;
+import eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement;
/**
* <p>
public class NamedAreaDetailElement extends
AbstractEntityCollectionElement<NamedArea> {
- private NamedAreaSelectionElement selection_namedArea;
+ private EntitySelectionElement<NamedArea> selection_namedArea;
/**
* <p>
*/
/** {@inheritDoc} */
@Override
- public void createControls(ICdmFormElement element, int style) {
- selection_namedArea = formFactory.createNamedAreaSelectionElement(
- element, getConversationHolder(), "Area", null, style);
+ public void createControls(ICdmFormElement formElement, int style) {
+ selection_namedArea = formFactory.createSelectionElement(NamedArea.class, getConversationHolder(),
+ formElement, "Area",
+ null, EntitySelectionElement.NOTHING, style);
}
/*