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

Bug 352722

Summary: [Table] TableItem#setChecked and TableItem#setGrayed don't cache the virtual item
Product: [RT] RAP Reporter: Ivan Furnadjiev <ivan>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: a.pavlov
Version: unspecified   
Target Milestone: 1.5 M1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Table Item Patched code ivan: iplog+

Description Ivan Furnadjiev CLA 2011-07-21 06:34:01 EDT
In distinction with SWT the TableItem#setChecked and TableItem#setGrayed don't cached the virtual item. Both methods in TreeItem are OK. We should implement them in the same way like in TreeItem.
Comment 1 Aleksandar Pavlov CLA 2011-07-21 08:47:15 EDT
Created attachment 200084 [details]
Table Item Patched code

That is suspiciously simple ;-)
Comment 2 Ivan Furnadjiev CLA 2011-07-21 08:55:53 EDT
(In reply to comment #1)
Thanks for the patch, Aleks. Does it fix your problem with CheckboxTableViewer#setAllChecked?
Comment 3 Aleksandar Pavlov CLA 2011-07-21 09:05:40 EDT
(In reply to comment #2)
Yes Ivan, I see check boxes loaded in the virtual table on the fly.
Comment 4 Ivan Furnadjiev CLA 2011-07-21 09:25:49 EDT
Applied patch with small changes to CVS HEAD. JUnit tests added too.