Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 311224 - [Viewers] DeferredContentManager cannot handle expansion of tree
Summary: [Viewers] DeferredContentManager cannot handle expansion of tree
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.4.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-30 14:14 EDT by Tod Creasey CLA
Modified: 2021-10-03 19:55 EDT (History)
2 users (show)

See Also:


Attachments
Source code for an example to work around the issue (18.94 KB, application/octet-stream)
2010-04-30 14:14 EDT, Tod Creasey CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tod Creasey CLA 2010-04-30 14:14:45 EDT
Created attachment 166656 [details]
Source code for an example to work around the issue

If I expand a node in a TreeViewer that uses a DeferredContentManager I will end up with nothing happening as the widgets are created after the update. This is particularly a problem when you wish to expand all levels.

I am attaching a plug-in that shows one way to implement expanding all but I had to subclass DeferredTreeContentManager to expand the elements I had been waiting for. 

This isn't great code  so I wouldn't consider it a solution to the problem but it is a place to start looking at it. If I make a more robust example I will include it.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:06:36 EDT
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.
Comment 2 Eclipse Genie CLA 2021-10-03 19:55:13 EDT
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. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. 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.