if (form.isValid()) {
final Class<?> fieldType = form.getFieldType();
final String fieldPath = form.getFieldPath();
final String caption = form.getCaption();
onAddCustomColumnDescriptor(new AddCustomColumnDescriptorEvent(ComplexListActivity.this, new ColumnDescriptorFieldHolder(caption, fieldPath, fieldType, complexListConfiguration.getTableName())));
eventBus.fireEvent(new PreferenceChangedEvent(ComplexListActivity.this));
return true;
}
return false;
}