Hi,
On Mon, 18 Dec 2006, austincb wrote:
> Is it possible to make a set of plugins part of a package? Or do I need to
> modify the source code and recompile the entire program to do that?
If you are talking about packaging plugins, see
http://rsb.info.nih.gov/ij/plugins/jar-demo.html> I'm trying to call a set of plugins (in a certain order), and wish to share
> data from one to the next. I've started just using temporary output text
> files, but is there a better way to do this?
Ah! That is different. You can do that with static member variables,
although that is rather messy (even if it is cleaner than temporary
files).
The best way would be to combine the plugins in a "super-plugin", which
not only calls the plugins one by one, but also has access to their
(non-static) member variables holding the results.
Hth,
Dscho