Login  Register

Re: call to my plugin from other one

Posted by gadea on Jun 01, 2011; 11:29am
URL: http://imagej.273.s1.nabble.com/call-to-my-plugin-from-other-one-tp3684404p3684405.html

Hi!

I've tried these solutions, but nothing.

The first plugin saves in the plugin folder in ImageJ. The second plugin is this:

public class Plugin_2 implements PlugIn {

    public void run (String arg){
       
       IJ.run("Plugin_1");
     
    }
}

I've tried with only name the plugin, with the path, ... I haven't more ideas!
I'm trying with threads ande the command syncronized but I don't get anything.

Could be that I can't call a plugin with the command "run" if the plugin is saved in the plugin folder?

thanks for advanced,

Gadea M.M.