Hi Herbie,
in a GenericDialog, you can add a panel with Components that are not
handled by the GenericDialog itself.
For these items, you can't retrieve the values (or status) with
GenericDialog methods like gd.getNextNumber(); you have to do it with
the "get..." method of the Component added.
Also, a DialogListener of the GenericDialog (if any) won't be called,
you have to register the appropriate listener (if required).
An example are the 'auto' checkboxes of Image>Stack>Stack to HyperStack;
the code is in ij.plugin.HyperStackConverter,
https://github.com/imagej/ImageJ/blob/master/ij/plugin/HyperStackConverter.java
(line 182–282)
Michael
________________________________________________________________
On 29.04.26 14:35, Gluender wrote:
Dear experts,
is it possible (and if yes, how) to _exclude_ certain items of a
GenericDialog in a plugin-code from Macro-recording?
Any ideas?
Regards
Herbie
:::::::::::::
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html