Hi Miguel,
this sounds a lot like a publish/subscribe event system. You might want
to use the CTK EventAdmin [1] plug-in for that. There is a high-level
overview [2] and a detailed tutorial [3].
Best,
Sascha
[1] http://www.commontk.org/docs/html/structctkEventAdmin.html
[2]
http://www.commontk.org/index.php/Documentation/CTK_Plugin_EventAdmin_local
[3] http://www.commontk.org/docs/html/PluginFramework_EventAdmin_Page.html
On 02/10/2014 11:57 AM, Miguel Nunes wrote:
Hello again MITK List,
I have reached a point where I am sure multiple plugins will have to
communicate (send or broadcast signals) to each other and I can not
make plugin A depend on plugin B which will depend on plugin A.
So I was wondering if there is a signal manager on a higher level of
the plugins (inside the MITK framework) or if it is possible to just
"addAction" or "addSignal" to Snippet QmitkAbstractView (or to some
other berry class) in order for any random plugin to be able to
connect to it, send a signal, and this higher level class emit the
signal to all running plugins.
Thank you again.
Miguel
On 02.09.2013 09:22, Miguel Nunes wrote:
Hello Sascha!
I managed a work around. So in case I came across again with this I
will let you know. thanks once again!
Best,
Miguel
On 27.08.2013 19:51, Sascha Zelzer wrote:
Hi Miguel,
It is possible and exactly how you did it. So what are the errors
you are getting? Does CMake configure correctly? Can you include
header files from plug-in A within B? Does the linker complain?
Best,
Sascha
On 08/27/2013 12:03 PM, Miguel Nunes wrote:
Hello MITK List,
I am trying to make two independent plugins communicate with each
other.
I want plugin B to access the plugin A active instance and call
some method like A::getData() or something similar. Is this possible?
On my B plugin file"manifest_headers.cmake" I changed the line to
set(Require-Plugin org.mitk.gui.qt.common org.mitk.A ) But I still
can't access A.
I appreciate any help.
Best,
Miguel
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users