about plugin in IJ2
Posted by
Adrian Daerr-2 on
URL: http://imagej.273.s1.nabble.com/about-plugin-in-IJ2-tp5014002.html
Dear list,
For an ImageJ1 plugin to document itself, you could put something like
the following in your plugins.config file inside the plugin jar:
Plugins>Drop Analysis, "Pendant drop", Pendant_drop("run")
Plugins>Drop Analysis, "About Pendant drop", Pendant_drop("about")
Help>About Plugins, "Pendant drop...", Pendant_drop("about")
And then your plugin could react appropriately if called with the
"about" argument, and show an informative window.
What is the recommended way of doing that in IJ2 ?
I am about to create two plugins in the same jar, one for the "about"
function, and use their respective menuPath attributes of the @Plugin
annotation to create the two menu entries. If there is a better way
(e.g. a canonical way of making (html-,pdf-,...)resources included in
the jar visible somehow from within imagej) please let me know.
TIA,
Adrian
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html