Value persistence for DynamicCommand

scijava
ij2command
imagej

#1

Should values be persistent in DynamicCommands?
For me they are not, i.e. the plugin always opens with the default values.


#2

Persistence behavior should be the same as for normal Commands, i.e. they should default to persist = true.

You might observe differing behavior for parameters that are changed via an initializer or a callback.


Can you please provide some sample code and describe where’s the unexpected behavior?