Posted by
Joachim Wesner on
Mar 25, 2006; 9:12am
URL: http://imagej.273.s1.nabble.com/ImageJ-mdi-version-tp3703148p3703165.html
Hi there,
I was wondering how some of the already "built-in" plugins get their
functionality that ONE plugin has SEVERAL menu entries, for example with
the now
permanently built-in FFT plugin, that has sub-menus like "FFT", "Inverse
FFT", "Redisplay...", FFT options..." etc.
I found out that the action for the plugin to do is controlled by the
argument in the setup routine, (easy, documented), however, what causes the
extra menu
entries and to send the extra options to setup (not so much documented
IMHO) ? Looking through the sources you can find out that it´s all in the
IJ_props.txt, which is normally AFAIK in the ij.jar file, so no "user
servicable part" while the plugin development phase.
Any idea how to implement an extra "Options/Settings" entry for a user
defined Plugin? Use 2 plugins that communicate by global variables (Brrrr)
resp.
an extra class?
Sincerely
Joachim
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________