Posted by
dscho on
Apr 21, 2014; 1:29pm
URL: http://imagej.273.s1.nabble.com/How-to-use-Stack-Manipulation-package-within-a-plugin-tp5007368p5007377.html
Hi Matt,
On Mon, 21 Apr 2014, Matt Pearson wrote:
> Thanks for the info, its good to know i can use IJ.run() for plugins
> contained within jar files.
Yes, this is possible, and there are actually two signatures. One which
takes the menu label and a macro-style argument string, and the other
taking an ImagePlus as a first argument. When calling from plugins, you
definitely want to use the latter because that minimizes chances of
interfering with other things going on in ImageJ (such as: running a macro
in parallel, or accidentally opening another image while your plugin is
running).
> I'll take a closer look at the Jenkins website.
For the record: it *is* the Jenkins website, but more specifically you are
looking at the Javadocs. Jenkins is our butler; she continually builds the
Javadocs (and does a lot of other tasks, too, proving once again how
useful computers are at automating things).
Ciao,
Johannes
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html