use of org.knime.core.node.util.filter.variable.FlowVariableFilterConfiguration in project knime-core by knime.
the class VariableLoopEndNodeDialog method loadSettingsFrom.
/**
* {@inheritDoc}
*/
@Override
protected void loadSettingsFrom(final NodeSettingsRO settings, final PortObjectSpec[] specs) throws NotConfigurableException {
FlowVariableFilterConfiguration config = new FlowVariableFilterConfiguration("selection");
Map<String, FlowVariable> variables = getAvailableFlowVariables();
config.loadConfigurationInDialog(settings, variables);
m_selection.loadConfiguration(config, variables);
}
use of org.knime.core.node.util.filter.variable.FlowVariableFilterConfiguration in project knime-core by knime.
the class VariableLoopEndNodeDialog method saveSettingsTo.
/**
* {@inheritDoc}
*/
@Override
protected void saveSettingsTo(final NodeSettingsWO settings) throws InvalidSettingsException {
FlowVariableFilterConfiguration config = new FlowVariableFilterConfiguration("selection");
m_selection.saveConfiguration(config);
config.saveConfiguration(settings);
}
use of org.knime.core.node.util.filter.variable.FlowVariableFilterConfiguration in project knime-core by knime.
the class AppendVariableToTable2NodeDialogPane method saveSettingsTo.
/**
* {@inheritDoc}
*/
@Override
protected void saveSettingsTo(final NodeSettingsWO settings) throws InvalidSettingsException {
FlowVariableFilterConfiguration config = new FlowVariableFilterConfiguration(AppendVariableToTable2NodeModel.CFG_KEY_FILTER);
m_filter.saveConfiguration(config);
config.saveConfiguration(settings);
}
use of org.knime.core.node.util.filter.variable.FlowVariableFilterConfiguration in project knime-core by knime.
the class AppendVariableToTable2NodeDialogPane method loadSettingsFrom.
/**
* {@inheritDoc}
*/
@Override
protected void loadSettingsFrom(final NodeSettingsRO settings, final PortObjectSpec[] specs) throws NotConfigurableException {
FlowVariableFilterConfiguration config = new FlowVariableFilterConfiguration(AppendVariableToTable2NodeModel.CFG_KEY_FILTER);
config.loadConfigurationInDialog(settings, getAvailableFlowVariables());
m_filter.loadConfiguration(config, getAvailableFlowVariables());
}
use of org.knime.core.node.util.filter.variable.FlowVariableFilterConfiguration in project knime-core by knime.
the class AppendVariableToTable2NodeModel method validateSettings.
/**
* {@inheritDoc}
*/
@Override
protected void validateSettings(final NodeSettingsRO settings) throws InvalidSettingsException {
FlowVariableFilterConfiguration conf = new FlowVariableFilterConfiguration(CFG_KEY_FILTER);
conf.loadConfigurationInModel(settings);
}
Aggregations