sorting plugin names in sub-menus

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

sorting plugin names in sub-menus

Kenneth Sloan-2
I maintain a suite of Java plugins that I want to keep together in the plugins menu.
So, I use (by copying...not understanding) a plugins.config file for each .jar file.

A typical plugins.config file looks like:

---------------------------------------------------
Plugins>MyPlugins, "Do Thing One",Do_Thing_One
---------------------------------------------------

This "works" in that all my plugins appear in a sub-menu under "MyPlugins".

At the top level, "MyPlugins" appears in alphabetical order, along with all the other plugins.

But, within my sub-menu, the plugins are ordered...I want to say "randomly" - let's just say that
it's not alphabetical and appears...arbitrary.  

Is there a way to control the order of plugins in the sub-menu?


--
Kenneth Sloan
[hidden email]
Vision is the art of seeing what is invisible to others.






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