Package org.knime.core.webui.node.dialog
package org.knime.core.webui.node.dialog
The dialog of a node is an UI extension that allows a user to change node settings. It translates between different
states of the lifecycle of settings.
- Loading:
NodeSettingsRO→ Node settings - Sending to the frontend: Node settings → Text
- Applying data from the frontend: Text → Node settings
- Saving data: Node settings →
NodeSettingsRO
Hereby the Node settings are combined of classes for Model- and View-Settings of the node.
Persistence
By which rules the NodeSettings should be loaded and saved is specified by certain persistors associated to them (see
org.knime.core.webui.node.dialog.defaultdialog.persistence)
Default Implementation: JsonForms
The default implementation of the above specifications is using JsonForms as text
medium (see org.knime.core.webui.node.defaultdialog.jsonforms)
-
ClassDescriptionRepresents
NodeSettingsROandVariableSettingsRO.RepresentsNodeSettingsWOandVariableSettingsWO.Represents a dialog of a node.Can be implemented and provided to the NodeDialog upon creation.Implemented byNodeFactorys to register a node dialog.Manages (web-ui) node dialog instances and provides associated functionality.Functionality aroundNodeSettingsas required by theNodeDialog.A settings type (usually associated withNodeSettingsinstances) denotes whether certain settings are going to be loaded into aNodeModelor aNodeView.The SubNodeContainerDialogFactory creates aNodeDialogfor all the configuration nodes inside aSubNodeContainerby parsing theDialogNodeRepresentations of those nodes and converting those to jsonforms which is parsed by the NodeDialog page.Gives access to the variable settings tree.Write-only settings for using and exposing other settings via flow variables.