public class DatabaseLoopingNodeDialogPane extends DBReaderDialogPane
Constructor and Description |
---|
DatabaseLoopingNodeDialogPane()
Creates a new dialog for the Database Looping node.
|
Modifier and Type | Method and Description |
---|---|
(package private) static SettingsModelBoolean |
createAggregateModel() |
(package private) static SettingsModelString |
createColumnModel() |
(package private) static SettingsModelBoolean |
createGridColumnModel() |
(package private) static SettingsModelIntegerBounded |
createNoValuesModel() |
protected void |
loadSettingsFrom(NodeSettingsRO settings,
PortObjectSpec[] specs)
Invoked before the dialog window is opened.
|
protected void |
saveSettingsTo(NodeSettingsWO settings)
Invoked when the settings need to be applied.
|
onClose, runWithoutConfigure, showConnectionPanel
addFlowVariablesTab, addJobMgrTab, addTab, addTab, addTabAt, addTabAt, callOnCancel, callOnClose, closeOnESC, createFlowVariableModel, createFlowVariableModel, createFlowVariableModel, finishEditingAndSaveSettingsTo, getAvailableFlowVariables, getCredentialsNames, getCredentialsProvider, getLogger, getNodeContext, getPanel, getTab, getTabIndex, isWriteProtected, loadSettingsFrom, loadSettingsFrom, onCancel, onOpen, removeTab, renameTab, saveSettingsTo, setEnabled, setSelected
DatabaseLoopingNodeDialogPane()
static SettingsModelString createColumnModel()
static SettingsModelBoolean createAggregateModel()
static SettingsModelBoolean createGridColumnModel()
static SettingsModelIntegerBounded createNoValuesModel()
protected void loadSettingsFrom(NodeSettingsRO settings, PortObjectSpec[] specs) throws NotConfigurableException
The implementation must be able to handle invalid or incomplete settings as the model may not have any reasonable values yet (for example when the dialog is opened for the first time). When an empty/invalid settings object is passed the dialog should set default values in its components.
loadSettingsFrom
in class DBReaderDialogPane
settings
- The settings to load into the dialog. Could be an empty
object or contain invalid settings. But will never be null.specs
- The input data table specs. Items of the array could be null
if no spec is available from the corresponding input port
(i.e. not connected or upstream node does not produce an
output spec). If a port is of type
BufferedDataTable.TYPE
and no spec is available the
framework will replace null by an empty DataTableSpec
(no columns) unless the port is marked as optional.NotConfigurableException
- if the dialog cannot be opened because
of real invalid settings or if any preconditions are not fulfilled, e.g.
no predecessor node, no nominal column in input table, etc.NodeModel.loadSettingsFrom(NodeSettingsRO)
protected void saveSettingsTo(NodeSettingsWO settings) throws InvalidSettingsException
saveSettingsTo
in class DBReaderDialogPane
settings
- The settings object to write into.InvalidSettingsException
- If the settings are not applicable to
the model.NodeModel.loadSettingsFrom(NodeSettingsRO)
KNIME GmbH, Konstanz, Germany
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.