NodeDialogPane.createFlowVariableModel deprecation warning

org.knime.core.node.NodeDialogPane.createFlowVariableModel(String, Type)

Above mentioned function triggers a deprecation warning on more-recent KNIME APIs (I use 4.1), due to FlowVariable.Type being deprecated.

Through which non-deprecated counterpart is this function call supposed to be replaced?

ā€“ Philipp

Hi Philipp,

The javadoc should have pointed you to the correct method, take a look here:

it tells you to use the new method:

The deprecation was done to add support for the new extendible flow variable types.

best,
Gabriel

Ok, so this is only in 4.2.

Thx.

1 Like