Re: beginners doubt to get plugin to the gui sub menu
Posted by
Michael Schmid on
Apr 07, 2009; 3:50pm
URL: http://imagej.273.s1.nabble.com/beginners-doubt-to-get-plugin-to-the-gui-sub-menu-tp3693058p3693061.html
Hi Donny George,
you see it in the plugins menu only after it has been compiled (so
there is a .class file) and ImageJ has been restarted.
Also, in Edit>Options>Miscellaneous Options, there is a checkbox
"Move isolated Plugins to Misc menu". When active, you will find it
in Plugins>Misc, not in the Plugins menu itself. This is to avoid the
Plugins Menus becoming too long is there are many packages in it.
Michael
________________________________________________________________
On 7 Apr 2009, at 17:27, Donny George wrote:
> hello all
>
> i have just started to work with imagej and am trying to develop
> plugins.
> from the tutorials for writing plug ins i get to know that i can
> also get
> the plugins integrated into the imagej GUI by having an underscore
> with the
> class name. i also see the same with the example plugins Filer
> Plugin and
> Plugin Frame. but when i try the same with a java hello world
> program i am
> not able to see it under the plugin submenu. of course its the
> example code
> which is as follows and saved as Hello_World.java in the plugin folder
>
> import ij.*;
> import ij.process.*;
> import ij.gui.*;
> import java.awt.*;
> import ij.plugin.*;
>
> public class Hello_World implements PlugIn {
>
> public void run(String arg) {
> IJ.showMessage("My_Plugin","Hello world!");
> }
>
> }
>
>
> could someone help me with my simple doubt. i am sure its the most
> basic
> doubt
>
> thank you for the help
> --
> Donny George