Hi Matthieu,

sorry for the late reply. The NodeDescriptorManager was my crime - I will have 
a look at it today and come back to you as soon as possible.

Best, Michael
Von: matthieu dumont [mailto:[email protected]]
Gesendet: Donnerstag, 6. Dezember 2012 15:53
An: [email protected]
Betreff: [mitk-users] Add IContextMenuAction to Unknown descriptor via 
org.mitk.gui.qt.datamanager.contextMenuActions extension point.

Hi,

Im trying to add a context menu action to the datamanager context menu via the 
org.mitk.gui.qt.datamanager.contextMenuActions extension point. It works 
perfectly well if I add it to
any of the Image, ImageMask, PointSet, Surface, NoneBinaryImage descriptor but 
if i try to add it to the Unknown data descriptor with the key Unknown in my 
plugin.xml I get a warning that the descriptor Unknown does not exist. Im 
trying to add it to Unknown to make my action visible when multiple nodes are 
selected in the datamanager.

 I looked up the QmitkNodeDescriptorManager code and found out the the unknown 
descriptor was created in the constructor but that it was NOT added to the 
descriptor list (m_NodeDescriptors) like all other descriptors created in this 
class. Could it be the problem? Is it made on purpose? Is there another way for 
me to add my contextmenuaction in the multiselection menu without using the 
Unknown descriptor?

Thank you!


--

Matthieu Dumont

Plateforme d'Analyse et de Visualisation d'Images

819.346.1110 poste 16634

pavi.dinf.usherbrooke.ca
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to