ValidatorField field = selectionMap.get(selection);
if (field==null) {
field = new ValidatorField(selection);
}
selectedField = field;
<BUG>getValidatorFieldData(selectedField);
}</BUG>
private void saveChanges() {
<BUG>if (selectedField!=null) {
selectedField.setNullAllowed(wNullAllowed.getSelection());</BUG>
selectedField.setMaximumLength(Const.toInt(wMaxLength.getText(), -1));

ValidatorField field = selectionMap.get(selection);
if (field==null) {
field = new ValidatorField(selection);
}
selectedField = field;
getValidatorFieldData(selectedField);
enableFields();
}
private void saveChanges() {
if (selectedField!=null) {
selectedField.setDataTypeVerified(wDataTypeVerified.getSelection());
selectedField.setDataType(ValueMeta.getType(wDataType.getText()));
selectedField.setNullAllowed(wNullAllowed.getSelection());
