public static class ListBoxItemFactory implements FormItemFactory {
@Override
public ObservableFormItem[] makeFormItem(PropertyBinding propBinding, FormItemObserver... observers) {
ListItem listItem = new ListItem(propBinding.getJavaName(), propBinding.getLabel(), true);
listItem.setRequired(propBinding.isRequired());
return new ObservableFormItem[] {new ObservableFormItem(propBinding, listItem, observers)};
}