Community
Participate
Working Groups
I need to develop support for selection the entire contents of a tree control (managed by TreeViewer) from context menu and from main Edit menu. There seems to be no way to programmatically select Tree contents so that all registered listeners are notified of the selection chnage event. The getTree().selectAll() does not generate any events.
Can you use TreeViewer.setSelection()?
I could, but set selection to what?
As a workaround, you can call getTree().selectAll() and then setSelection(getSelection()).
This requires new API, e.g. TreeViewer.selectAll(). Cannot add API for 3.3.
Hitesh is now responsible for watching bugs in the [Viewers] component area.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.
This bug has been marked as stalebug a while ago without any further interaction. If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard flag.
This bug was marked as stalebug a while ago. Marking as worksforme. If this report is still relevant for the current release, please reopen and remove the stalebug whiteboard tag.