updateView(getElement().getValue(), getNode());
}
private void updateView(Object o1, FXFormNode fxFormNode) {
try {
Adapter adapter = annotationAdapterProvider.getAdapter(getElement().getType(), getNode().getProperty().getClass(), getElement(), getNode());
if (adapter == null) {
adapter = getFxForm().getAdapterProvider().getAdapter(getElement().getType(), getNode().getProperty().getClass(), getElement(), getNode());
}
Object newValue = adapter.adaptTo(o1);
fxFormNode.getProperty().setValue(newValue);
fxFormNode.getNode().setDisable((((PropertyElement) getElement()).isBound()));
} catch (AdapterException e) {
// The model value can not be adapted to the view
logger.log(Level.FINE, e.getMessage(), e);