final Binding type = tmpBinding.getBinding("type");
type.setReadOnly(false);
type.setRequired(true);
type.setName("Select type");
type.setAdapter(ITextLabelProvider.class,
new TextProviderAdapter() {
public String getText(Object object) {
Class<?> c = (Class<?>) object;
return c.getSimpleName();
}