Multiple Plugins - "Invoke first plugin(already running instance) methods from second plugin"
Posted by
sharanbabuk on
Apr 18, 2014; 10:24pm
URL: http://imagej.273.s1.nabble.com/Multiple-Plugins-Invoke-first-plugin-already-running-instance-methods-from-second-plugin-tp5007363.html
Hello Everyone,
I'm working on an application where we need to invoke variables or methods of a plugin that is already running under imageJ. Here invocation(or pulling values from 1st plugin) should happen from 2nd plugin. I hope, I'm not confusing. To be clear, my intention is to get variable values of plugin-1 by executing plugin-2.
I went through the threads and found only 1 relevant thread(
http://imagej.1557.x6.nabble.com/call-to-my-plugin-from-other-one-td3684404.html). It says that we can re-execute plugin-1 from plugin-2 by using IJ.run(plugin-1) command. But this doesn't solve my purpose as it is creating a new instance of plugin-1. Rather, in my case, I need to get variables from already running instance of plugin-1
Let me know if you need any other information.
Thanks