use of org.knime.base.node.meta.looper.AbstractLoopEndNodeSettings.RowKeyPolicy in project knime-core by knime.
the class AbstractLoopEndNodeDialog method loadSettingsFrom.
/**
* {@inheritDoc}
*/
@Override
protected void loadSettingsFrom(final NodeSettingsRO settings, final DataTableSpec[] specs) throws NotConfigurableException {
m_settings.loadSettings(settings);
m_addIterationColumn.setSelected(m_settings.addIterationColumn());
RowKeyPolicy p = m_settings.rowKeyPolicy();
for (Enumeration<AbstractButton> e = m_rowKeyPolicy.getElements(); e.hasMoreElements(); ) {
AbstractButton b = e.nextElement();
b.setSelected(b.getActionCommand().equals(p.name()));
}
loadFromSettings(m_settings);
}
Aggregations