Hi,
The "Refresh Menus" item seems to be not active on my Fiji rc-13/1.49 a. Is this item has been moved to somewhere else ? It is extremely useful when developing java plugins. thanks Thomas -- Thomas Boudier, Associate Prof. UPMC, IPAL UMI 2955, Singapore. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Thomas,
I had the same problem. Johannes told me that during the current IJ2 development phase it is disabled. Help>Refresh Menus is disabled for now. It is just too hard to support it > properly. I hope to be able to resurrect it, but for now, we simply cannot > support it. Sorry! I understand that the current developmental phase sometimes comes with such restrictions, no problem. I thought the compilation (via Compile and Run) will be sufficient to do the job, but it doesn't. Currently I am restarting Fiji repeatedly to test my new plugins. If somebody knows a way to avoid this restarting process I would be glad to hear about it. a nice day to all of you, Jan 2014-08-13 10:46 GMT+02:00 Thomas Boudier <[hidden email]>: > Hi, > > The "Refresh Menus" item seems to be not active on my Fiji rc-13/1.49 a. > Is this item has been moved to somewhere else ? It is extremely useful > when developing java plugins. > > thanks > > Thomas > > -- > Thomas Boudier, Associate Prof. UPMC, > IPAL UMI 2955, Singapore. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- CEO: Dr. rer. nat. Jan Brocher phone: +49 (0)6234 917 03 39 mobile: +49 (0)176 705 746 81 e-mail: [hidden email] info: [hidden email] inquiries: [hidden email] web: www.biovoxxel.de -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi Jan,
Thanks for your answer (thank you Graeme too), I understand the problem, fiji has so many plugins around that refreshing them all can be tricky. May I suggest to the fiji dev team to have two kinds of plugins : the ones installed by Fiji and no need for refresh, and some kind of "private" plugins put in the specific folder for users to have their own plugins and these need to be refreshed. Best Thomas > Hi Thomas, > > I had the same problem. Johannes told me that during the current IJ2 > development phase it is disabled. > > Help>Refresh Menus is disabled for now. It is just too hard to support it >> properly. I hope to be able to resurrect it, but for now, we simply >> cannot >> support it. Sorry! > > > I understand that the current developmental phase sometimes comes with > such > restrictions, no problem. > > I thought the compilation (via Compile and Run) will be sufficient to do > the job, but it doesn't. Currently I am restarting Fiji repeatedly to test > my new plugins. > If somebody knows a way to avoid this restarting process I would be glad > to > hear about it. > > a nice day to all of you, > Jan > > > > > 2014-08-13 10:46 GMT+02:00 Thomas Boudier <[hidden email]>: > >> Hi, >> >> The "Refresh Menus" item seems to be not active on my Fiji rc-13/1.49 a. >> Is this item has been moved to somewhere else ? It is extremely useful >> when developing java plugins. >> >> thanks >> >> Thomas >> >> -- >> Thomas Boudier, Associate Prof. UPMC, >> IPAL UMI 2955, Singapore. >> >> -- >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html >> > > > > -- > > CEO: Dr. rer. nat. Jan Brocher > phone: +49 (0)6234 917 03 39 > mobile: +49 (0)176 705 746 81 > e-mail: [hidden email] > info: [hidden email] > inquiries: [hidden email] > web: www.biovoxxel.de > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > -- Thomas Boudier, Associate Prof. UPMC, IPAL UMI 2955, Singapore. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Hi all,
>fiji has so many plugins around that refreshing them all can be tricky. I have a strong suspicion that the problem is not the number of plugins, but managing a reset of the ClassLoader being used. In Fiji, the ij.jar is being modified at the bytecode level and a lot of magic happens to hook in ImageJ2 functionality to ImageJ 1.x operations. The LegacyInjector <https://github.com/imagej/ij1-patcher/blob/master/src/main/java/net/imagej/patcher/LegacyInjector.java> is a good starting point for anyone interested in this behavior, but it essentially boils down to the fact that we have to be careful when working with ClassLoaders. For those interested, menu refreshing is managed by the Menus.updateImageJMenus <https://github.com/imagej/ImageJA/blob/master/src/main/java/ij/Menus.java#L1544-1553> method, which initiates the ClassLoader reset and repopulation. Anyway, this is a topic of interest to me and it clearly has significant use in the community.. so it's something I'd like to personally look into more, and at least better understand if not actually resolve. To that end, I also opened a ticket in our issue tracker: https://github.com/imagej/ij1-patcher/issues/31 I hope that, in the mean time, I've helped shed some light on why this is a non-trivial problem. - Mark On Wed, Aug 13, 2014 at 5:08 AM, Thomas Boudier < [hidden email]> wrote: > Hi Jan, > > Thanks for your answer (thank you Graeme too), I understand the problem, > fiji has so many plugins around that refreshing them all can be tricky. > May I suggest to the fiji dev team to have two kinds of plugins : the ones > installed by Fiji and no need for refresh, and some kind of "private" > plugins put in the specific folder for users to have their own plugins and > these need to be refreshed. > > Best > > Thomas > > > > Hi Thomas, > > > > I had the same problem. Johannes told me that during the current IJ2 > > development phase it is disabled. > > > > Help>Refresh Menus is disabled for now. It is just too hard to support it > >> properly. I hope to be able to resurrect it, but for now, we simply > >> cannot > >> support it. Sorry! > > > > > > I understand that the current developmental phase sometimes comes with > > such > > restrictions, no problem. > > > > I thought the compilation (via Compile and Run) will be sufficient to do > > the job, but it doesn't. Currently I am restarting Fiji repeatedly to > test > > my new plugins. > > If somebody knows a way to avoid this restarting process I would be glad > > to > > hear about it. > > > > a nice day to all of you, > > Jan > > > > > > > > > > 2014-08-13 10:46 GMT+02:00 Thomas Boudier <[hidden email] > >: > > > >> Hi, > >> > >> The "Refresh Menus" item seems to be not active on my Fiji rc-13/1.49 a. > >> Is this item has been moved to somewhere else ? It is extremely useful > >> when developing java plugins. > >> > >> thanks > >> > >> Thomas > >> > >> -- > >> Thomas Boudier, Associate Prof. UPMC, > >> IPAL UMI 2955, Singapore. > >> > >> -- > >> ImageJ mailing list: http://imagej.nih.gov/ij/list.html > >> > > > > > > > > -- > > > > CEO: Dr. rer. nat. Jan Brocher > > phone: +49 (0)6234 917 03 39 > > mobile: +49 (0)176 705 746 81 > > e-mail: [hidden email] > > info: [hidden email] > > inquiries: [hidden email] > > web: www.biovoxxel.de > > > > -- > > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > > > > > > > -- > Thomas Boudier, Associate Prof. UPMC, > IPAL UMI 2955, Singapore. > > -- > ImageJ mailing list: http://imagej.nih.gov/ij/list.html > -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |