@Override
public Widget asWidget() {
// if properties is not set, then this UI does not make sense
// the resolver should be unapplicable, and this should never get called
PropertyDependantVisualItemValueResolver resolver = getCurrentResolverFromUIModel();
assert properties.contains(resolver.getProperty());
selector.setValues(properties);
selector.setSelectedValue(resolver.getProperty());
return selector.asWidget();
}