} else if (Number.class.isAssignableFrom(type)
|| type.isPrimitive()) {
binding.setSubjectClass(type);
OneLineTextElement<Number> t = new OneLineTextElement<Number>();
binding.addValidator(new ValidatorAdapter() {
public CodeAndMessage isValid(IBinding context,
Object object) {
if (object == null) {
return CodeAndMessage.OK_MESSAGE;