mcib3d / mcib3d-plugins

ImageJ plugins for 3D processing and analysis
https://imagej.net/3D_ImageJ_Suite
8 stars 9 forks source link

RoiManager3D settings do not work #6

Closed metalico closed 8 years ago

metalico commented 8 years ago

In mcib3d_plugins3.7, class RoiManager3D_2.java, line 1240 you have this code:

private void buttonConfigActionPerformed(ActionEvent evt) { IJ.run("3D Manager Options"); }

And it should be:

private void buttonConfigActionPerformed(ActionEvent evt) { IJ.run("RoiManager3D_Options"); }

It won't recognize the command otherwise and the window won't launch. I'm having trouble with it because there are lots of errors when I decompile the jar file to correct it. Could you please upload a new version? Thanks a lot!

mcib3d commented 8 years ago

Hi Metalico,

It is working perfectly well on my system, and nobody reported any pb. The IJ.run methods works with command name, that is the name of the plugin as it appears in the menu, not the name of the class. If you modify the name of the plugin in the menu, it won´t work . Hope this helps.

Thomas

metalico commented 8 years ago

Hi Thomas,

Thank you very much for your answer. I am trying to correct other people's ImageJ version and this is one of the problems. I'll start with your advice to solve it.

Thank you again!