Login  Register

automatic plugins submenu

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

automatic plugins submenu

Ben.BigHair
Hello,

Reading "Writing ImageJ Plugins—A Tutorial" by Werner Bailer indicates
that in the past the plugins folder could have subdirectories from which
submenus are automatically created.  I noticed that for ImageJ 1.38t on
Mac OSX it doesn't seem to work.  Here's a snippet from the tutorial
which was written for version 1.36.

> 2.2 Plugins Folder—Installing Plugins
> ImageJ user plugins have to be located in a folder called plugins, which is a subfolder of
> the ImageJ folder. But only class files in the plugins folder with at least one underscore in
> their name appear automatically in the “Plugins” menu. Since version 1.20 it is also possible
> to create subfolders of the plugins folder and place plugin files there. The subfolders are
> displayed as submenus of ImageJ’s “Plugins” menu.

I didn't find any reference in the ImageJ News bulletin about a change
away from that behavior. Is there a trick to this?

Thanks,
Ben
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: automatic plugins submenu

dscho
Hi,

On Mon, 4 Jun 2007, Ben Tupper wrote:

> Reading "Writing ImageJ Plugins—A Tutorial" by Werner Bailer indicates
> that in the past the plugins folder could have subdirectories from which
> submenus are automatically created.

I am using it without problems, and I heard from people using it on
MacOSX. I _suspect_ that you do not have underscores in the class name, or
something similar.

Ciao,
Dscho
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: automatic plugins submenu

Ben.BigHair
In reply to this post by Ben.BigHair
Ben Tupper wrote:

> Hello,
>
> Reading "Writing ImageJ Plugins—A Tutorial" by Werner Bailer indicates
> that in the past the plugins folder could have subdirectories from which
> submenus are automatically created.  I noticed that for ImageJ 1.38t on
> Mac OSX it doesn't seem to work.  Here's a snippet from the tutorial
> which was written for version 1.36.
>
>> 2.2 Plugins Folder—Installing Plugins ImageJ user plugins have to be
>> located in a folder called plugins, which is a subfolder of the ImageJ
>> folder. But only class files in the plugins folder with at least one
>> underscore in their name appear automatically in the “Plugins” menu.
>> Since version 1.20 it is also possible to create subfolders of the
>> plugins folder and place plugin files there. The subfolders are
>> displayed as submenus of ImageJ’s “Plugins” menu.
>
> I didn't find any reference in the ImageJ News bulletin about a change
> away from that behavior. Is there a trick to this?
>

Mea Culpa!   Thanks to Wayne for straightening me out.  I misread the
explanation in the tutorial (which is very clear.)

Thanks!
Ben
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: automatic plugins submenu

Gabriel Landini
In reply to this post by dscho
On Monday 04 June 2007, Johannes Schindelin wrote:

> Hi,
>
> On Mon, 4 Jun 2007, Ben Tupper wrote:
> > Reading "Writing ImageJ Plugins—A Tutorial" by Werner Bailer indicates
> > that in the past the plugins folder could have subdirectories from which
> > submenus are automatically created.
>
> I am using it without problems, and I heard from people using it on
> MacOSX. I _suspect_ that you do not have underscores in the class name, or
> something similar.

Is this 1 level down the "plugins" folder or several levels down (sub-menu of
a sub-menu)?

I thought that it was only 1...

Cheers

G.