How to program the OK button of configuration of a node (in development), to validate some components that I need to validate before it is executed.
When you click on OK (or Apply), the #configure() method of the NodeModel is called, so you can almost certainly (without knowing the details of what you want to do!) do what you want there.
You can also override the
saveAdditionalSettings() method in the NodeDialog, if you want to perform your validation before the settings are saved to the node. By throwing an exception in that method, you can prevent a user from configuring a node with an illegal value.
Thank you very much, I tried it and I think it is the best option.