I would like to select an image node programmatically. I can set the 'selected' property of the node, but the selection does not change in the data manager.
This feature would be useful for our segmentation plugin (but for the MITK segmentation plugin as well, I think). When the user creates a new segmentation, the selection could be placed on the new image in the data manager.
This could be handled in QmitkDataStorageTreeModel that could assign a modification listener to the 'selected' property of a node when a new node is added, and remove it when the node is removed of when the data storage is changed. (If there is a scenario for having multiple data storage.)
What do you think? Would you accept pull request for this?