ProgressBar.setBatchMode()

Posted by Pål Baggethun on
URL: http://imagej.273.s1.nabble.com/ProgressBar-setBatchMode-tp5010181.html

In order to disable the progressbar during binary close in a Plugin (not PluginFilter) I tried the following:

ImageJ ij = IJ.getInstance();
if (ij!=null) ij.getProgressBar().setBatchMode(true);
IJ.run(maskimp, "Options...", "iterations=3 count=1 black pad edm=Overwrite do=Close");

..but to no effect. What am I doing wrong? Are there other approaches? Batch mode macro is not an option.

Cheers,
P. Baggethun
NOTICE: Please immediately e-mail back to sender if you are not the intended recipient. Thereafter delete the e-mail along with any attachments without making copies. The sender reserves all rights of privilege, confidentiality and copyright.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html