} else {
final Class<?> type = f.getType();
if (type != null) {
final Binding binding = bnd.getBinding(f.name);
binding.setValue(e.getProperty(f.name), null);
Object adapter = new ClassAdapterFactory().getAdapter(type,
IValidator.class);
if (adapter != null) {
binding.setAdapter(IValidator.class, (IValidator) adapter);
}
adapter = new ClassAdapterFactory().getAdapter(type,
ILabelLookup.class);
if (adapter != null) {
binding.setAdapter(ILabelLookup.class,
(ILabelLookup) adapter);
}
adapter = new ClassAdapterFactory().getAdapter(type,
IRealmProvider.class);
if (adapter != null) {
binding.setAdapter(IRealmProvider.class,
(IRealmProvider) adapter);