Posted by
CARL Philippe (LBP) on
Jul 24, 2014; 2:54pm
URL: http://imagej.273.s1.nabble.com/non-modal-dialog-box-in-macros-tp5008882.html
Dear all,
I would like to use a non modal dialog box in macros.
In order to describe a little bit what I would like to do ; in a macro Im
writing, the user will have to select a ROI from the ROI Manager by clicking
on the given ROI on the picture in the same time that he decides how the
next step of the macro should be done by means of a checkbox choice.
Unfortunately, the Dialog.create features are modal as the waitForUser
window (non modal) doesnt allow you to add any checkbox.
Of course one solution would be to first use a waitForUser window followed
by a Dialog.create window one.
But given that I will have 2 of these steps (ROI + Checkbox choice) for 2
channels in the macro iterated on all the cells on a given picture and that
there are a whole bunch of pictures, the difference of work for the user
will be from quite a lot to double.
Thus one of the solution would be to have a NonBlockingDialog command
implemented in macros based on the NonBlockingGenericDialog class
additionally to the GenericDialog class used for the Dialog one (if Wayne
thinks this could be useful for the community).
But would there be another solution that I may be missing with the already
available tools in macros?
I thank you very much in advance for your help.
My best regards,
Philippe
Philippe CARL
Laboratoire de Biophotonique et Pharmacologie
UMR 7213 CNRS - Université de Strasbourg
Faculté de Pharmacie
74 route du Rhin
67401 ILLKIRCH
Tel : +33(0)3 68 85 41 84
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html