Hi Hortense,

if I understood you right, you want to re-use a widget from a plug-in within another plug-in, right?

Plug-ins are shared libraries and you can introduce link-time dependencies between plug-ins just like between Modules or Modules and plug-ins.

To specify a dependency from one plug-in to another, edit the plug-ins manifest_headers.cmake file (the Require-Plugin variable). You can see an example here:

https://github.com/MITK/MITK/blob/master/Plugins/org.mitk.gui.qt.segmentation/manifest_headers.cmake#L5

Best,
Sascha


On 01/23/2014 11:41 AM, Hortense KIRISLI wrote:

Hi Thomas,

 

Yes, I did.
I used in my plugin some widget (for instance the QmitkToolGUIArea  of segmentationUI module).
So actually, maybe my question shall be refined as how can I create a widget from my plugin, as I only noticed widget from modules.

 

Best,

Hortense

 

----

Hortense KIRISLI, PhD

Research & Development Engineer

 

AQUILAB

Parc Eurasanté – Lille Métropole                                        

Bâtiment Hermès

250 rue Salvador Allende                                  

59120 Loos Les Lille - France

Tel. +33 3 69 61 51 65

www.aquilab.com

 

AQUILAB

----

 

De : Kilgus, Thomas [mailto:[email protected]]
Envoyé : jeudi 23 janvier 2014 11:28
À : Hortense KIRISLI; [email protected]
Objet : RE: Embeding a plugin into another plugin

 

Hi Hortense,

 

did you think of creating a widget? There are several examples for modules which offer reusable GUI components (e.g. ToFUI, USUI, etc.).

 

Regards,

Thomas

 

Thomas Kilgus

German Cancer Research Center (DKFZ)

Div. Medical and Biological Informatics

Junior group: Computer-assisted Interventions (E131)

Im Neuenheimer Feld 280

69120 Heidelberg, Germany

Phone: +49(0) 6221-42-3545

 

 

 

From: Hortense KIRISLI [mailto:[email protected]]
Sent: Donnerstag, 23. Januar 2014 11:09
To: [email protected]
Subject: [mitk-users] Embeding a plugin into another plugin

 

Hi all,

 

In a plugin, I have a tool box containers with few boxes.
In one of the boxes, I wish to embed another plugin which I developed.

Is there any possibility to do so (i.e. in the *.ui file, without merging the code)? and if yes, how shall I do it?

 

Many thanks,

 

Best,

Hortense

----

Hortense KIRISLI, PhD

Research & Development Engineer

 

AQUILAB

Parc Eurasanté – Lille Métropole                                        

Bâtiment Hermès

250 rue Salvador Allende                                  

59120 Loos Les Lille - France

Tel. +33 3 69 61 51 65

www.aquilab.com

 

AQUILAB

----

 


------------------------------------------------------------------------------
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

Reply via email to