public LabeledEnumComboBoxBinding(JComboBox comboBox, FormModel formModel, String formPropertyPath) {
super(comboBox, formModel, formPropertyPath);
}
protected void doBindControl(ListModel bindingModel) {
setRenderer(new LabeledEnumListRenderer(getMessageSource()));
setEditor(new LabeledEnumComboBoxEditor(getMessageSource(), getEditor()));
CompoundComparator comparator = new CompoundComparator();
comparator.addComparator(LabeledEnum.LABEL_ORDER);
comparator.addComparator(new ComparableComparator());
setComparator(comparator);