Community
Participate
Working Groups
The comment for StructureViewer.setSelection(ISelection, boolean) claims that updateSelection is called only if the selection differs from the current selection. The code looks like it does not implement this behaviour. It seems that updateSelection is always called. I don't know if the comment has just become stale, but I believe behaviour that matches the comment would be more beneficial than the existing behaviour.
The comment is stale. It is sometimes necessary to be able to force notification of a selection change, e.g. when the program changes the selection at the SWT widget level (SWT does not send change events when things are changed programmatically). This can be done using viewer.setSelection (viewer.getSelection()). It may be better to have special API to force a notification, rather than relying on the behaviour of setSelection.
Reassigning bugs in component areas that are changing ownership.
There are no plans to fix this.