Login  Register

Re: call to my plugin from other one

Posted by Nathaniel Ryckman on May 31, 2011; 2:41pm
URL: http://imagej.273.s1.nabble.com/call-to-my-plugin-from-other-one-tp3684404p3684408.html

gadea wrote
Hi, i'm starting with ImageJ. I have done a plugin and I'm creating other one. I want to call from second plugin to first one.

The first plugin is in the Plugins folder.

When I do "IJ.run("plugin1");" the ImageJ shows me the next error message: "Unrecognized command: plugin1".

How can I do to call my plugin from other one?

Thanks,

Gadea

Sorry by my English.
If you are designing both plugins, remember that it's always good to stay object-oriented :-)!

Example from imageJ's EDM class:

private MaximumFinder maxFinder = new MaximumFinder();    //we use only one MaximumFinder (nice progress bar)