Community
Participate
Working Groups
1) Checkbox state is not being saved/restored correctly 2) Strings are not NLS'd 3) Editing does not reveal and select checked elements very well (categories cause some unusual behaviour).
Fixed (1)
Fixed (2) along with a bunch of broken NL'd messages.
Susan, I am having real trouble trying to get the available IU group to play nice. What I want is for the view to open up with certain IUs already checked. I would like the first of these IUs to be selected and revealed. I would like the categories (if they are turned on by the user) to be collapsed. If you have any suggestions that would be awesome. Below is some of the code I've been trying to use. It does check the right IUs, and if categories are not being shown, the first IU is selected and revealed. However, if there are categories, they are all expanded and the select/reveal doesn't work properly. // Only able to check items if we don't have categories fQueryContext.setViewType(IUViewQueryContext.AVAILABLE_VIEW_FLAT); fAvailableIUGroup.updateAvailableViewState(); fAvailableIUGroup.setChecked(fEditContainer.getInstallableUnits(fProfile)); // Make sure view is back in proper state updateViewContext(); IInstallableUnit[] units = fAvailableIUGroup.getCheckedLeafIUs(); if (units.length > 0) { fAvailableIUGroup.getCheckboxTreeViewer().setSelection(new StructuredSelection(units[0]), true); } fAvailableIUGroup.getCheckboxTreeViewer().collapseAll();
The important issues on this bug have been fixed. Won't worry about this for 3.5.
No plans to fix the remaining item and the behaviour isn't that bad. No need to have an extra bug floating around. Close as WONTFIX.