On 01.04.2011 10:57, Müller Michael wrote:
> Hi Thomas,
> 
> currently the DataManager does not listen to changes of the "selected" 
> property in nodes. We decided this on purpose because the DataManager cannot 
> decide whether he should *add* the node to the current selection or if he 
> should just select this single node.
> Instead we are using the BlueBerry selection service to inform the workbench 
> about selections. E.g. Views inherited from "QmitkFunctionality" may use the 
> methods 
> 
> FireNodeSelected( mitk::DataNode* node ) 
> FireNodesSelected( std::vector<mitk::DataNode*> nodes )
> 
> to inform the DataManager about a new set of selected nodes.
> If you do not have the chance to inherit from QmitkFunctionality, you may 
> have a look into these methods to see how it works.
> 
> Regards,
> Michael
> 

Hi Michael,

thanks for the reply. Great! Thats the perfect 5 star answer to my
problem, and explains why it didn't do anything.

As i do not only selection, but also *DE*selection, one qestion remains:
Can i deselect a node through a similar mechanism?

Thanks so far & kind regards,
Thomas


------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to