Package org.knime.core.webui.node.dialog.defaultdialog


package org.knime.core.webui.node.dialog.defaultdialog
This package offers a default implementation of a Node Dialog as described in org.knime.core.webui.node.dialog. It utilizes JsonForms to represent the dialog and its components. The text representation of the settings is a JSON with three parts:
  • Data holding the state of the NodeSettings.
  • A Schema specifying the data.
  • A UISchema specifying the UI.
See DefaultNodeSettings on how to define the dialog via a declarative API.

Known limitations

  1. Updates between settings are not possible if the target setting is nested within an array layout setting and as a source it is only possible to trigger an update by every change of an array layout, not individual changes of specific nested settings.
  2. Dependency chains are not possible, i.e. if setting A gets updated by setting B and setting B gets updated by setting C, an update of setting C does not influence A. In order to circumvent this, it is currently necessary to have a direct dependency from A to C, too.
  3. The order in which updates due to dependencies between settings are resolved is non-deterministic.
  4. It is not possible at the moment to have the same combination of settings name and containing class for two separate Credentials. I.e. for a single dialog it is not possible to reuse a common class containing credentials twice. The same holds for multiple dialogs and in particular it will not work to open a dialog which contains credentials twice at the same time currently. (TODO: UIEXT-1375 resolve this limitation)
Author:
Paul Bärnreuther
See Also: