Bug 272725 - [target] Edit IU Bundle Container Page problems
Summary: [target] Edit IU Bundle Container Page problems
Status: RESOLVED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-17 12:28 EDT by Curtis Windatt CLA
Modified: 2010-08-20 16:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curtis Windatt CLA 2009-04-17 12:28:39 EDT
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).
Comment 1 Curtis Windatt CLA 2009-04-17 12:42:17 EDT
Fixed (1)
Comment 2 Curtis Windatt CLA 2009-04-17 14:21:29 EDT
Fixed (2) along with a bunch of broken NL'd messages.
Comment 3 Curtis Windatt CLA 2009-04-17 15:12:20 EDT
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();
Comment 4 Curtis Windatt CLA 2009-04-24 12:19:50 EDT
The important issues on this bug have been fixed.  Won't worry about this for 3.5.
Comment 5 Curtis Windatt CLA 2010-08-20 16:15:49 EDT
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.