When the loadValidatedSettings method is called, the settings are already validated and can be loaded into the local fields, which in this case is the SettingsModels of the number of bins and the selected column.
@Override
protected void loadValidatedSettingsFrom(
final NodeSettingsRO settings)
throws InvalidSettingsException {
m_numberOfBins.loadSettingsFrom(settings);
m_column.loadSettingsFrom(settings);
}
In the saveSettings method the local fields are written into the settings such that the dialog displays the current values.
@Override
protected void saveSettingsTo(final NodeSettingsWO settings) {
m_numberOfBins.saveSettingsTo(settings);
m_column.saveSettingsTo(settings);
}