Code implementation for new nodes

Hi,
I’m creating new nodes for knime and so far i’ve managed to create a node add some dialog components; but i find it difficult understanding where the code should be implemented. I need to store the values requested as input from the user by using the dialog components from node configuration in knime application. My program will run an alreary existing executable file and values inserted by the configuration settings of the node will be used as inputs to the executable. Where should I implement the code for it to work properly?

The values entered by the user are stored automatically into a SettingsModel if you use the DefaultDialogComponents and you can then access them in the referring methods of the NodeModel from the SettingsModel (which was created with the same config key).

Have you looked at our example code for the NodeModel and the NodeDialog?

See also: