org.knime.base.node.preproc.filter.column
Class FilterColumnNodeDialog

java.lang.Object
  extended by org.knime.core.node.NodeDialogPane
      extended by org.knime.base.node.preproc.filter.column.FilterColumnNodeDialog

final class FilterColumnNodeDialog
extends NodeDialogPane

This is the dialog for the column filter. The user can specify which columns should be excluded in the output table.

Author:
Christoph Sieb, University of Konstanz, Thomas Gabriel, University of Konstanz

Constructor Summary
FilterColumnNodeDialog()
          Creates a new NodeDialogPane for the column filter in order to set the desired columns.
 
Method Summary
protected  void loadSettingsFrom(NodeSettingsRO settings, DataTableSpec[] specs)
          Calls the update method of the underlying filter panel using the input data table spec from this FilterColumnNodeModel.
protected  void saveSettingsTo(NodeSettingsWO settings)
          Sets the list of columns to exclude inside the underlying FilterColumnNodeModel retrieving them from the filter panel.
 
Methods inherited from class org.knime.core.node.NodeDialogPane
addJobMgrTab, addTab, addTabAt, createFlowVariableModel, createFlowVariableModel, createFlowVariableModel, finishEditingAndSaveSettingsTo, getAvailableFlowVariables, getPanel, getTab, getTabIndex, internalLoadSettingsFrom, loadSettingsFrom, loadSettingsFrom, onCancel, onClose, onOpen, removeTab, renameTab, saveSettingsTo, setEnabled, setSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterColumnNodeDialog

FilterColumnNodeDialog()
Creates a new NodeDialogPane for the column filter in order to set the desired columns.

Method Detail

loadSettingsFrom

protected void loadSettingsFrom(NodeSettingsRO settings,
                                DataTableSpec[] specs)
                         throws NotConfigurableException
Calls the update method of the underlying filter panel using the input data table spec from this FilterColumnNodeModel.

Overrides:
loadSettingsFrom in class NodeDialogPane
Parameters:
settings - the node settings to read from
specs - the input specs
Throws:
NotConfigurableException - if no columns are available for filtering
See Also:
NodeModel.loadSettingsFrom(NodeSettingsRO)

saveSettingsTo

protected void saveSettingsTo(NodeSettingsWO settings)
                       throws InvalidSettingsException
Sets the list of columns to exclude inside the underlying FilterColumnNodeModel retrieving them from the filter panel.

Specified by:
saveSettingsTo in class NodeDialogPane
Parameters:
settings - the node settings to write into
Throws:
InvalidSettingsException - If the settings are not applicable to the model.
See Also:
NodeDialogPane.saveSettingsTo(NodeSettingsWO)


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.