Hi Nils,
The segmentation bundle adds a button to open the image statistics bundle to
the context menu in the data manager if the later is build
m_StatisticsAction = new QAction("Statistics", parent);
binaryImageDataNodeDescriptor->AddAction(m_StatisticsAction);
berry::IBundle::Pointer imageStatisticsBundle =
berry::Platform::GetBundle("org.mitk.gui.qt.imagestatistics");
if(imageStatisticsBundle.IsNotNull())
connect( m_StatisticsAction, SIGNAL( triggered(bool) ) , this, SLOT(
ImageStatistics(bool) ) );
else
m_StatisticsAction->setEnabled( false );
in QmitkSegmentationPostProcessing.cpp
Apart from this being a button to manually open the bundle, is this what you
are looking for?
Best regards,
Caspar
-----Ursprüngliche Nachricht-----
Von: Ritter, Nils [mailto:[email protected]]
Gesendet: Freitag, 13. August 2010 13:51
An: '[email protected]'
Betreff: Re: [mitk-users] How to acces other MITK Plug-ins from
Thanks for your reply.
What we are planning to do is to implement some kind of state machine that uses
other, previously known plug-ins (by name or id or ...). A "main plug-in" gives
an overview of the whole process and offers buttons to open another part. Each
button causes a search for a group of possible plug-ins that are opened on
demand by the program, not by the user. Whether this state machine will be
MITKs internal one or something hand-crafted is not decided yet. By dividing
the functionality of the whole program into several plug-ins, distributed
development is made easy and the GUI is kept clean. Also by minimizing user
interaction with MITK itself (the container extapp, not the functionality of
the plug-ins) we can guide the user towards his goal.
Could you provide some example code that shows how to interact with MITK's
mechanism? Most of the examples I found up to now are pretty straight forward.
Open something, process it, save it. But there is almost no MITK mechanism
involved.
Best regards,
Nils
-----Ursprüngliche Nachricht-----
Von: Sascha Zelzer [mailto:[email protected]]
Gesendet: Donnerstag, 12. August 2010 12:33
An: [email protected]
Betreff: Re: [mitk-users] How to acces other MITK Plug-ins from
Hi,
there is a sophisticated API for controlling the OSGi plug-in system and
the BlueBerry workbench. For controll over the workbench, see for
example the IWorkbenchPage interface:
http://docs.mitk.org/nightly-qt4/BlueBerry/reference/api/html/structberry_1_1IWorkbenchPage.html
If you can give us a concrete problem description of what you want to
achieve, I may be able to help you more specifically.
Best,
Sascha
On 08/10/2010 09:52 PM, Ritter, Nils wrote:
> Hi,
> I'm looking for a way to gain some control over MITKs plug-in mechanisms from
> my own plug-in. It would be very helpful for the project I'm currently
> working on, to divide functionality into several plug-ins and open or stop
> them from a main control. Also some control over the view aspects would be
> nice. Could someone point me in the right direction with this, or even
> provide some code that simply explains how to approach this problem? Thanks
> in advance.
>
> Best regards,
> Nils
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users