Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314175

Summary: [Dialogs] CheckedTreeSelectionDialog setInitialElementSelection non functional
Product: [Eclipse Project] Platform Reporter: Chris Gross <cgross>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3    
Version: 3.5.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: stalebug

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.