moving Java plugins from highly interactive to "batch friendly"
Posted by
Kenneth Sloan-2 on
Sep 09, 2019; 6:57pm
URL: http://imagej.273.s1.nabble.com/moving-Java-plugins-from-highly-interactive-to-batch-friendly-tp5022429.html
I have (almost exclusively) implemented Java plugins for ImageJ which
are highly interactive. While I have tried to compartmentalize the
user interaction (mostly through dialog boxes) from the actual
computations, I haven't always been completely successful.
I'm looking for "best practices" on writing Java plugins which require
multiple parameters - and which are written to accept these parameters either
from their invocation, or as responses from user interacting with dialog
boxes.
The movivation, of course, is that now many of the things which I have written
as "exploratory, interactive mini-applications" have entered the world of "production use".
I'm "on deadine" now with processing that will take me 8 hours to do interactively. I suspect
it will take me MORE than 8 hours to modify the existing code to be script-driven, but...once
I get past this deadline I'll be strongly motivated to do some serious re-writing.
One or two really good examples would be wonderful.
--
Kenneth Sloan
[hidden email]
Vision is the art of seeing what is invisible to others.
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html