org.knime.base.node.preproc.sorter
Class SorterNodeDialog
java.lang.Object
org.knime.core.node.NodeDialogPane
org.knime.base.node.preproc.sorter.SorterNodeDialog
public class SorterNodeDialog
- extends NodeDialogPane
Dialog for choosing the columns that will be sorted. It is also possible to
set the order of columns
- Author:
- Nicolas Cebron, University of Konstanz
Constructor Summary |
SorterNodeDialog()
Creates a new NodeDialogPane for the Sorter Node in order to
choose the desired columns and the sorting order (ascending/ descending). |
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 |
SorterNodeDialog
SorterNodeDialog()
- Creates a new
NodeDialogPane
for the Sorter Node in order to
choose the desired columns and the sorting order (ascending/ descending).
loadSettingsFrom
protected void loadSettingsFrom(NodeSettingsRO settings,
DataTableSpec[] specs)
throws NotConfigurableException
- Calls the update method of the underlying update method of the
SorterNodeDialogPanel
using the input data table spec from this
SorterNodeModel
.
- Overrides:
loadSettingsFrom
in class NodeDialogPane
- Parameters:
settings
- the node settings to read fromspecs
- the input specs
- Throws:
NotConfigurableException
- if the dialog can not be opened.- See Also:
NodeDialogPane.loadSettingsFrom(NodeSettingsRO, DataTableSpec[])
saveSettingsTo
protected void saveSettingsTo(NodeSettingsWO settings)
- Sets the list of columns to include and the sorting order list inside the
underlying
SorterNodeModel
retrieving them from the
SorterNodeDialogPanel
.
- Specified by:
saveSettingsTo
in class NodeDialogPane
- Parameters:
settings
- the node settings to write into- 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.