widget = new TextAreaWidget(this);
}
if (Number.class.isAssignableFrom(getField().getType()) || getField().getType().equals(double.class)
|| getField().getType().equals(int.class) || getField().getType().equals(long.class)) {
widget = new NumberWidget(this);
}
if (Boolean.class.isAssignableFrom(getField().getType()) || getField().getType().equals(boolean.class)) {
widget = new CheckboxWidget(this);
}