use of org.knime.ext.sun.nodes.script.settings.JavaScriptingSettings in project knime-core by knime.
the class JavaIfSwitchNodeDialogPane method saveSettingsTo.
/**
* {@inheritDoc}
*/
@Override
protected void saveSettingsTo(final NodeSettingsWO settings) throws InvalidSettingsException {
JavaScriptingSettings jsSettings = m_customizer.createSettings();
m_panel.saveSettingsTo(jsSettings);
jsSettings.saveSettingsTo(settings);
}
use of org.knime.ext.sun.nodes.script.settings.JavaScriptingSettings in project knime-core by knime.
the class JavaIfSwitchNodeModel method loadValidatedSettingsFrom.
/**
* {@inheritDoc}
*/
@Override
protected void loadValidatedSettingsFrom(final NodeSettingsRO settings) throws InvalidSettingsException {
JavaScriptingSettings jsSettings = m_customizer.createSettings();
jsSettings.loadSettingsInModel(settings);
m_settings = jsSettings;
}
use of org.knime.ext.sun.nodes.script.settings.JavaScriptingSettings in project knime-core by knime.
the class JavaScriptingNodeModel method loadValidatedSettingsFrom.
/**
* {@inheritDoc}
*/
@Override
protected void loadValidatedSettingsFrom(final NodeSettingsRO settings) throws InvalidSettingsException {
JavaScriptingSettings temp = m_customizer.createSettings();
temp.loadSettingsInModel(settings);
m_settings = temp;
}
use of org.knime.ext.sun.nodes.script.settings.JavaScriptingSettings in project knime-core by knime.
the class JavaEditVariableNodeDialogPane method saveSettingsTo.
/**
* {@inheritDoc}
*/
@Override
protected void saveSettingsTo(final NodeSettingsWO settings) throws InvalidSettingsException {
JavaScriptingSettings jsSettings = m_customizer.createSettings();
m_panel.saveSettingsTo(jsSettings);
jsSettings.saveSettingsTo(settings);
}
use of org.knime.ext.sun.nodes.script.settings.JavaScriptingSettings in project knime-core by knime.
the class JavaEditVariableNodeDialogPane method loadSettingsFrom.
/**
* {@inheritDoc}
*/
@Override
protected void loadSettingsFrom(final NodeSettingsRO settings, final PortObjectSpec[] specs) throws NotConfigurableException {
JavaScriptingSettings jsSettings = m_customizer.createSettings();
jsSettings.loadSettingsInDialog(settings, JavaEditVariableNodeModel.EMPTY_SPEC);
m_panel.loadSettingsFrom(jsSettings, JavaEditVariableNodeModel.EMPTY_SPEC);
}
Aggregations