Hi,
again, please keep the discussion on the list.
Regarding your question, could you be more specific? I included a link on how
to add a view to a plugin and once that is done you could use either the second
mentioned method or communicate via a variety of other ways depending on your
requirements.
Best,
Caspar
Von: 237686500 [mailto:[email protected]]
Gesendet: Donnerstag, 21. September 2017 15:40
An: Goch, Caspar Jonas
Betreff: Re: AW: A little confused on communicate between plugins
Hi,
For the first solution you mentioned,could you please give me some detailed
information.
Thanks.
------------------ Original ------------------
From: "Goch, Caspar
Jonas";<[email protected]<mailto:[email protected]>>;
Date: Thu, Sep 21, 2017 03:50 PM
To: "237686500"<[email protected]<mailto:[email protected]>>;"MITK
([email protected])"<[email protected]<mailto:[email protected])%22%[email protected]>>;
Subject: AW: A little confused on communicate between plugins
Hi,
please post questions to the list and not to individual developers, that way
more people can answer and the question and answer are archived for others to
peruse.
The plugin system is designed to be pretty modular and have as few hard
dependencies on each other as possible. There are two ways you could go:
1. Your view makes no sense without the view in that other plugin.
In this case you could consider putting them in the same plugin [1].
2. The architecture is sensible or out of your control and you might want
to get some information from that other plugin or manipulate something there,
if it is present.
You can get the view via its ID, see [2] for an example.
Best,
Caspar
[1] http://docs.mitk.org/nightly/NewViewPage.html
[2]
https://phabricator.mitk.org/source/mitk/browse/master/Plugins/org.mitk.gui.qt.common/src/QmitkAbstractView.cpp;d65e3adb21ca5d21cd91a20ccfcd276c1078a42a$518-525
Von: 237686500 [mailto:[email protected]]
Gesendet: Donnerstag, 21. September 2017 05:21
An: Goch, Caspar Jonas
Betreff: A little confused on communicate between plugins
Hi,
I have some troubles in communicate between plugins.Actually,I have a view
with several buttons,and I tried to get the push information in another plugin
but failed.So could you please give me some advices? Thanks a lot.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users