Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314175 - [Dialogs] CheckedTreeSelectionDialog setInitialElementSelection non functional
Summary: [Dialogs] CheckedTreeSelectionDialog setInitialElementSelection non functional
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5.1   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-24 18:45 EDT by Chris Gross CLA
Modified: 2019-10-08 10:47 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Gross CLA 2010-05-24 18:45:13 EDT
Create a CheckedTreeSelectionDialog.

Call setContainerMode(true).

Try setting some items to be checked when opening the dialog via setInitialElementSelection().

No items are ever checked.  This seems to be due to the underlying ContainerCheckedTreeViewer won't expand the parent tree items as necessary.  When setContainerMode(false) and the regular CheckboxTreeViewer is used this happens correctly.
Comment 1 Eclipse Genie CLA 2019-03-23 11:40:32 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.

--
The automated Eclipse Genie.
Comment 2 Lars Vogel CLA 2019-10-08 10:47:43 EDT
This bug was marked as stalebug a while ago. Marking as wontfix.

If this report is still relevant for the current release, please
reopen and remove the stalebug whiteboard tag.