Re: new version of Fast Filters plugin

Posted by ctrueden on
URL: http://imagej.273.s1.nabble.com/new-version-of-Fast-Filters-plugin-tp3684966p5013240.html

Hi Michael,

> You even don't need to build a proper .jar; just create a .zip with
> all the class files you need and the plugins.config, have an
> underscore character in the filename, and place it into ImageJ/plugins
> or an immediate subfolder thereof.

This is an error prone process, and the ImageJ team cannot guarantee it
will still work in the future.

Much better to use File > Export as .jar from the Script Editor. Or package
the JAR file using other standard means such as File > Export > JAR file
from Eclipse. (Every IDE has a feature like this.)

Regards,
Curtis

On Mon, Jun 22, 2015 at 2:38 AM, Michael Schmid <[hidden email]>
wrote:

> On Jun 21, 2015, at 11:16, justelouise wrote:
> > I was able to get the results I need when running the plugin through he
> > PlugInFilterrunner. I wasn't able to replicate it even though I just
> > copy-pasted the PlugInFilterRunner implementation. The problem now is
> that
> > the dialog box is showing for the fast filters plugin.
>
> The dialog options are automatically filled in if you set
> Macro.setOptions(options) and the thread has a name starting with "Run$_".
> For an appropriate code, see
>
>   https://github.com/imagej/imagej1/blob/master/ij/IJ.java#l257
>
> But as I wrote previously, it would be much easier to have the Fast
> Filters somewhere in the menu and then simply call
>   IJ.run(imp, "Fast Filters", options).
> You even don't need to build a proper .jar; just create a .zip with all
> the class files you need and the plugins.config, have an underscore
> character in the filename, and place it into ImageJ/plugins or an immediate
> subfolder thereof.
>
> Michael
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

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