IJ_Prefs.txt

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

IJ_Prefs.txt

lechristophe
Hi,

I'm trying to understand the way ImageJ puts various commands in the
different menus, as I would like to set the order of the plugins
displayed in "Plugins...". Oddly, the plugins are not displayed by
alphabetic order in my implementation of ImageJ (latest MBF_ImageJ).

I've started with the IJ_Prefs.txt from Tony Collins' MBF_ImageJ, but I
don't understand how it manages to specify a place for different plugins
inside regular ImageJ menus (for example Copy/Paste to clipboard is in
the "Edit..." menu). There's a sort of code "pluginXX=Y" in the pref
file, with XX an incremental number and Y a letter from a to u.

Does anyone know how it's used or where I can find this info ?

Thanks,

Christophe Leterrier
Reply | Threaded
Open this post in threaded view
|

Re: IJ_Prefs.txt

Tony Collins-4
Hi Christophe,

The Plugins>Shortcut>Install plugins allows you to 'install' a plugin to
*some* menus by adding the correct line to the IJ_Prefs.txt.

You can then manually do this by editing the IJ_Prefs.txt once you've
cracked the code! Always back up the IJ_Prefs.txt and only edit it when
ImageJ is closed. ImageJ has the habit of over-writing your IJ_prefs.txt
with a 'safe' default if it feels like it!

Cheers,
Tony

Tony J. Collins, Ph.D.
McMaster Biophotonics Facility
Dept. Biochemistry and Biomedical Sciences HSC 4H21A
McMaster University, Hamilton, ON, L8N 3Z5
(905) 525 9140 x28812(off.)/x26488(lab)
[hidden email]     www.macbiophotonics.ca


> -----Original Message-----
> From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
> Christophe Leterrier
> Sent: June 18, 2007 8:25 AM
> To: [hidden email]
> Subject: IJ_Prefs.txt
>
> Hi,
>
> I'm trying to understand the way ImageJ puts various commands in the
> different menus, as I would like to set the order of the plugins
> displayed in "Plugins...". Oddly, the plugins are not displayed by
> alphabetic order in my implementation of ImageJ (latest MBF_ImageJ).
>
> I've started with the IJ_Prefs.txt from Tony Collins' MBF_ImageJ, but
I
> don't understand how it manages to specify a place for different
plugins
> inside regular ImageJ menus (for example Copy/Paste to clipboard is in
> the "Edit..." menu). There's a sort of code "pluginXX=Y" in the pref
> file, with XX an incremental number and Y a letter from a to u.
>
> Does anyone know how it's used or where I can find this info ?
>
> Thanks,
>
> Christophe Leterrier
Reply | Threaded
Open this post in threaded view
|

Re: IJ_Prefs.txt

Gabriel Landini
In reply to this post by lechristophe
On Monday 18 June 2007 13:25:19 Christophe Leterrier wrote:
> I'm trying to understand the way ImageJ puts various commands in the
> different menus, as I would like to set the order of the plugins
> displayed in "Plugins...".

I think that alphabetically by plugin and macros names (no indication of which
is which), but the names of plugins in jar files are (I think) not sorted and
just appended at the end of the list.

In linux at least, small case names come after the upper case names (which
makse sense).
Regards,
G.