I have a CheckboxTreeViewer
with multiple instances of the same element in different branches. My problem is when implementing the setSubtreeChecked
elements in different branches are getting checked if they are under the same element in a different branch. Here's the structure:
-Parent1
-MidLevel1
-BottomLevel1
-BottomLevel2
-MidLevel2
-BottomLevel1
-BottomLevel2
- Parent2
-MidLevel1
-BottomLevel1
-BottomLevel2
-MidLevel2
-BottomLevel1
-BottomLevel2
So checking element MidLevel1 under Parent2 will check all of the elements under MidLevel1 under Parent1.
Also under this structure when using the setChecked(element, false)
to uncheck everything in the tree not every element is unchecked when using getCheckedElements
to get the elements.