Menus/Submenus? in ImageJ's menubar...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Menus/Submenus? in ImageJ's menubar...

Jeffrey B. Woodward
Is it possible to create "deep" submenus within the ImageJ menubar?
Currently in plugins.conf I have something like:

Plugins>Digital_Forensics,"Algorithm1...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm1_("")

Plugins>Digital_Forensics,"Algorithm2...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm2_("")

Plugins>Digital_Forensics,"Algorithm3...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm3_("")

Plugins>Digital_Forensics,"-"
Plugins>Digital_Forensics,"Algorithm4...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm4_("")

Plugins>Digital_Forensics,"Algorithm5...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm5_("")

Plugins>Digital_Forensics,"Algorithm6...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm6_("")



We are starting to get quite a collection of plugins, and I would like
to further categorize them. Currently we are using separators in the
menu (as demonstrated above); however, I would like to have submenus.
Something like:

Plugins>Digital_Forensics>Tampering,"Algorithm1...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm1_("")

Plugins>Digital_Forensics>Tampering,"Algorithm2...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm2_("")

Plugins>Digital_Forensics>Tampering,"Algorithm3...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm3_("")

Plugins>Digital_Forensics>Enhancement,"Algorithm4...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm4_("")

Plugins>Digital_Forensics>Enhancement,"Algorithm5...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm5_("")

Plugins>Digital_Forensics>Enhancement,"Algorithm6...",edu.dartmouth.cs.forensics.ij_plugin.Algorithm6_("")



Thanks in advance,

-Woody