I need to change the data manager selection from my workbench parts, e.g. views or an editor. QmitkAbstractView provides a SetDataManagerSelection function to set the selection of the Data Manager view part through BlueBerry. However, the item highlighting does not change in the Data Manager view.
I found that this is because of a trivial issue.
QmitkDataNodeSelectionProvider::SetSelection does not override berry::QtSelectionProvider::SetSelection, because the constness of the parameter does not match. In the BlueBerry API the constant smart pointer is taken as const ref, but in the derived class as value.
A fix is here:
The fix is based on 2015.05.2, but it probably applies to the current master without conflict. (I checked and it has not been fixed yet.)