Search in sources :

Example 91 with NodeSettingsWO

use of org.knime.core.node.NodeSettingsWO in project knime-core by knime.

the class AndRowFilter method saveSettings.

/**
 * {@inheritDoc}
 */
@Override
protected void saveSettings(final NodeSettingsWO cfg) {
    if (m_in1 != null) {
        NodeSettingsWO cfg1 = cfg.addNodeSettings(CFG_FILTER1);
        m_in1.saveSettingsTo(cfg1);
    }
    if (m_in2 != null) {
        NodeSettingsWO cfg2 = cfg.addNodeSettings(CFG_FILTER2);
        m_in2.saveSettingsTo(cfg2);
    }
}
Also used : NodeSettingsWO(org.knime.core.node.NodeSettingsWO)

Example 92 with NodeSettingsWO

use of org.knime.core.node.NodeSettingsWO in project knime-core by knime.

the class OrRowFilter method saveSettings.

/**
 * {@inheritDoc}
 */
@Override
protected void saveSettings(final NodeSettingsWO cfg) {
    if (m_in1 != null) {
        NodeSettingsWO cfg1 = cfg.addNodeSettings(CFG_FILTER1);
        m_in1.saveSettingsTo(cfg1);
    }
    if (m_in2 != null) {
        NodeSettingsWO cfg2 = cfg.addNodeSettings(CFG_FILTER2);
        m_in2.saveSettingsTo(cfg2);
    }
}
Also used : NodeSettingsWO(org.knime.core.node.NodeSettingsWO)

Example 93 with NodeSettingsWO

use of org.knime.core.node.NodeSettingsWO in project knime-core by knime.

the class NegRowFilter method saveSettings.

/**
 * {@inheritDoc}
 */
@Override
protected void saveSettings(final NodeSettingsWO cfg) {
    if (m_inFilter != null) {
        NodeSettingsWO inCfg = cfg.addNodeSettings(CFG_INFILTER);
        m_inFilter.saveSettingsTo(inCfg);
    }
}
Also used : NodeSettingsWO(org.knime.core.node.NodeSettingsWO)

Example 94 with NodeSettingsWO

use of org.knime.core.node.NodeSettingsWO in project knime-core by knime.

the class RowFilter2PortNodeModel method saveSettingsTo.

/**
 * {@inheritDoc}
 */
@Override
protected void saveSettingsTo(final NodeSettingsWO settings) {
    assert settings != null;
    if (m_rowFilter != null) {
        NodeSettingsWO filterCfg = settings.addNodeSettings(CFGFILTER);
        m_rowFilter.saveSettingsTo(filterCfg);
    }
}
Also used : NodeSettingsWO(org.knime.core.node.NodeSettingsWO)

Example 95 with NodeSettingsWO

use of org.knime.core.node.NodeSettingsWO in project knime-core by knime.

the class RowFilterNodeModel method saveSettingsTo.

/**
 * {@inheritDoc}
 */
@Override
protected void saveSettingsTo(final NodeSettingsWO settings) {
    assert settings != null;
    if (m_rowFilter != null) {
        NodeSettingsWO filterCfg = settings.addNodeSettings(CFGFILTER);
        m_rowFilter.saveSettingsTo(filterCfg);
    }
}
Also used : NodeSettingsWO(org.knime.core.node.NodeSettingsWO)

Aggregations

NodeSettingsWO (org.knime.core.node.NodeSettingsWO)111 NodeSettings (org.knime.core.node.NodeSettings)16 Map (java.util.Map)11 File (java.io.File)9 FileOutputStream (java.io.FileOutputStream)9 LinkedHashMap (java.util.LinkedHashMap)9 HashMap (java.util.HashMap)8 InvalidSettingsException (org.knime.core.node.InvalidSettingsException)8 RowKey (org.knime.core.data.RowKey)6 DataCell (org.knime.core.data.DataCell)5 BufferedOutputStream (java.io.BufferedOutputStream)4 NodeSettingsRO (org.knime.core.node.NodeSettingsRO)4 HashSet (java.util.HashSet)3 GZIPOutputStream (java.util.zip.GZIPOutputStream)3 DataRow (org.knime.core.data.DataRow)3 ExecutionMonitor (org.knime.core.node.ExecutionMonitor)3 AbstractQuickFormConfiguration (org.knime.core.quickform.AbstractQuickFormConfiguration)3 AbstractQuickFormValueInConfiguration (org.knime.core.quickform.AbstractQuickFormValueInConfiguration)3 QuickFormInputNode (org.knime.core.quickform.in.QuickFormInputNode)3 MutableInteger (org.knime.core.util.MutableInteger)3