@Override
public void start(final PAcceptsOneWidget world) {
super.start(world);
captionFormField = new FormField("Caption");
captionFormField.addValidator(new NotEmptyFieldValidator());
addFormField(captionFormField);
addHandlerToFormField(captionFormField);
fieldPathFormField = new FormField("Field Path");
fieldPathFormField.addValidator(new NotEmptyFieldValidator());
addFormField(fieldPathFormField);
addHandlerToFormField(fieldPathFormField);
final ListBoxFormFieldRenderer typeRenderer = new ListBoxFormFieldRenderer("Field Type");
typeRenderer.addItem(String.class.getSimpleName(), String.class);
typeRenderer.addItem(Integer.class.getSimpleName(), Integer.class);
typeRenderer.addItem(Long.class.getSimpleName(), Long.class);
typeRenderer.addItem(Double.class.getSimpleName(), Double.class);
typeRenderer.addItem(Date.class.getSimpleName(), Date.class);
typeRenderer.addItem(Boolean.class.getSimpleName(), Boolean.class);
fieldTypeFormField = new FormField(typeRenderer);
fieldTypeFormField.addValidator(new NotEmptyFieldValidator());
addFormField(fieldTypeFormField);
addHandlerToFormField(fieldTypeFormField);
}