"No" button within GenericDialog class feature update
Posted by
CARL Philippe (LBP) on
Sep 24, 2019; 3:09pm
URL: http://imagej.273.s1.nabble.com/No-button-within-GenericDialog-class-feature-update-tp5022458.html
Dear all,
Within the GenericDialog class it is now possible to add an additional button and even customize its name (see enableYesNoCancel(java.lang.String yesLabel, java.lang.String noLabel) method).
Nevertheless, it would additionally be interesting to have this custom "No" button being able to launch a method without launching itself the GenericDialog dispose() method, for example for having an "Apply" button which would not close the dialog like I illustrated it within the small plugin that can be found here:
http://punias.free.fr/ImageJ/test/My_Plugin.javathat can be linked with the GenericDialog update try that can be found within:
http://punias.free.fr/ImageJ/test/GenericDialog.javaNevertheless I don't know how I could define the method I would like to launch from "outside" the GenericDialog class.
I thank you very much in advance for your lighting on this.
My best regards
Philippe
Philippe CARL
Laboratoire de Bioimagerie et Pathologies
UMR 7021 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