Login  Register

Re: Menu suggestions

Posted by dscho on Feb 14, 2009; 12:03pm
URL: http://imagej.273.s1.nabble.com/toggle-ActionBar-AlwaysOnTop-and-the-API-tp3693618p3693621.html

Hi,

On Sat, 14 Feb 2009, Gabriel Landini wrote:

> I think this would be a useful option to have in Edit>Options>Misc...
>
> [...]
>
> "An updated Menus class, contributed by Johannes Schindelin, provides better
> Fiji compatibility and allows plugins to be installed in more menus."
>
> Any suggestions on how to add a new item to the standard menu structure
> using this new class?

Sorry, you cannot extend the dialog shown by Edit>Options>Misc...  
However, you can add another plugin that you insert into the Edit>Options
menu using a line in plugins.config like this:

        Edit>Options, "ActionBar...", ActionBar_Options

(this assumes that you have a plugin class named ActionBar_Options, and
that you bundle all your classes into a .jar file).

Ciao,
Dscho