Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352722 - [Table] TableItem#setChecked and TableItem#setGrayed don't cache the virtual item
Summary: [Table] TableItem#setChecked and TableItem#setGrayed don't cache the virtual ...
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 1.5 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-21 06:34 EDT by Ivan Furnadjiev CLA
Modified: 2011-07-21 09:26 EDT (History)
1 user (show)

See Also:


Attachments
Table Item Patched code (1.10 KB, patch)
2011-07-21 08:47 EDT, Aleksandar Pavlov CLA
ivan: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.