Search in sources :

Example 1 with RectanglePropertyEditor

use of eu.etaxonomy.cdm.remote.editor.RectanglePropertyEditor in project cdmlib by cybertaxonomy.

the class OccurrenceListController method initBinder.

@InitBinder
@Override
public void initBinder(WebDataBinder binder) {
    super.initBinder(binder);
    binder.registerCustomEditor(UuidList.class, new UUIDListPropertyEditor());
    binder.registerCustomEditor(Rectangle.class, new RectanglePropertyEditor());
}
Also used : UUIDListPropertyEditor(eu.etaxonomy.cdm.remote.editor.UUIDListPropertyEditor) RectanglePropertyEditor(eu.etaxonomy.cdm.remote.editor.RectanglePropertyEditor) InitBinder(org.springframework.web.bind.annotation.InitBinder)

Aggregations

RectanglePropertyEditor (eu.etaxonomy.cdm.remote.editor.RectanglePropertyEditor)1 UUIDListPropertyEditor (eu.etaxonomy.cdm.remote.editor.UUIDListPropertyEditor)1 InitBinder (org.springframework.web.bind.annotation.InitBinder)1