settings.setElementCountThreshold(ConfigurationEditorUtil.validateIntegerInputValue(elementCountThresholdTextBox, "Element count threshold", 0, 10000, null));
settings.setDataLengthThreshold(ConfigurationEditorUtil.validateIntegerInputValue(dataLengthThresholdTextBox, "Data length threshold", 0, 1000, null));
}
public void resetChanges() {
DataEditorValueListPopupSettings settings = getConfiguration();
activeForPrimaryKeysCheckBox.setSelected(settings.isActiveForPrimaryKeyColumns());
elementCountThresholdTextBox.setText(Integer.toString(settings.getElementCountThreshold()));
dataLengthThresholdTextBox.setText(Integer.toString(settings.getDataLengthThreshold()));
}