org.knime.base.node.preproc.rowkey
Class RowKeyNodeDialog

java.lang.Object
  extended by org.knime.core.node.NodeDialogPane
      extended by org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane
          extended by org.knime.base.node.preproc.rowkey.RowKeyNodeDialog

public class RowKeyNodeDialog
extends DefaultNodeSettingsPane

The node dialog of the row key manipulation node. The node allows the user to replace the row key with another column and/or to append a new column with the values of the current row key.

Author:
Tobias Koetter

Field Summary
protected static String ENSURE_UNIQUENESS_LABEL
          The label of the uniqueness check box.
 
Constructor Summary
RowKeyNodeDialog()
          New dialog for configuring the the row key node.
 
Method Summary
protected  boolean enableReplaceOptions()
           
 void loadAdditionalSettingsFrom(NodeSettingsRO settings, DataTableSpec[] specs)
          Override hook to load additional settings when all input ports are data ports.
 void saveAdditionalSettingsTo(NodeSettingsWO settings)
          This method can be overridden to save additional settings to the given settings object.
 
Methods inherited from class org.knime.core.node.defaultnodesettings.DefaultNodeSettingsPane
addDialogComponent, closeCurrentGroup, createNewGroup, createNewTab, createNewTabAt, loadAdditionalSettingsFrom, loadSettingsFrom, saveSettingsTo, selectTab, setDefaultTabTitle, setHorizontalPlacement
 
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
 

Field Detail

ENSURE_UNIQUENESS_LABEL

protected static final String ENSURE_UNIQUENESS_LABEL
The label of the uniqueness check box.

See Also:
Constant Field Values
Constructor Detail

RowKeyNodeDialog

public RowKeyNodeDialog()
New dialog for configuring the the row key node.

Method Detail

enableReplaceOptions

protected boolean enableReplaceOptions()
Returns:
true if the replace options should be enabled

loadAdditionalSettingsFrom

public void loadAdditionalSettingsFrom(NodeSettingsRO settings,
                                       DataTableSpec[] specs)
                                throws NotConfigurableException
Override hook to load additional settings when all input ports are data ports. This method is the specific implementation to DefaultNodeSettingsPane.loadAdditionalSettingsFrom(NodeSettingsRO, PortObjectSpec[]) if all input ports are data ports. All elements in the specs argument are guaranteed to be non-null.

Overrides:
loadAdditionalSettingsFrom in class DefaultNodeSettingsPane
Parameters:
settings - The settings of the node
specs - The DataTableSpec of the input tables.
Throws:
NotConfigurableException - If not configurable

saveAdditionalSettingsTo

public void saveAdditionalSettingsTo(NodeSettingsWO settings)
                              throws InvalidSettingsException
This method can be overridden to save additional settings to the given settings object.

Overrides:
saveAdditionalSettingsTo in class DefaultNodeSettingsPane
Parameters:
settings - the NodeSettings to write into
Throws:
InvalidSettingsException - if the user has entered wrong values


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.