Bug 170380 - [Snippets] Snippet to demonstrate usage of VIRTUAL-Tables
Summary: [Snippets] Snippet to demonstrate usage of VIRTUAL-Tables
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.3 M6   Edit
Assignee: Thomas Schindl CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-01-13 02:14 EST by Thomas Schindl CLA
Modified: 2007-03-23 04:25 EDT (History)
2 users (show)

See Also:


Attachments
The snippets (7.78 KB, patch)
2007-01-13 02:16 EST, Thomas Schindl CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schindl CLA 2007-01-13 02:14:30 EST
2 Snippets demonstrating usage Viewer-Usage with virtual tables
Comment 1 Thomas Schindl CLA 2007-01-13 02:16:56 EST
Created attachment 56864 [details]
The snippets
Comment 2 Boris Bokowski CLA 2007-02-13 16:13:06 EST
Released Snippet 30, not 29.  It doesn't make sense to use a SWT.VIRTUAL table without a lazy content provider because this would materialize all items eagerly.
Comment 3 Boris Bokowski CLA 2007-02-13 16:33:44 EST
Sorry, I was wrong and you were right. I released snippet29 too.
Comment 4 Benjamin Pasero CLA 2007-02-13 16:59:09 EST
Wow, I was actually not aware that one could use SWT.VIRTUAL for a tableviewer so easily. Is there any sideeffects? 

Is there plans to make the TreeViewer work virtually with a normal content provider?
Comment 5 Benjamin Pasero CLA 2007-02-13 17:00:17 EST
"Wow, I was actually not aware that one could use SWT.VIRTUAL for a tableviewer
so easily."

Easy in a way that you could use the normal content provider and dont have to use the lazycontentprovider.
Comment 6 Thomas Schindl CLA 2007-02-13 17:32:38 EST
and the cool thing is that this also make sorting and filtering available for virtual tables (bug #170381)
Comment 7 Thomas Schindl CLA 2007-03-23 04:25:00 EDT
Verified by code inspection in I20070321-1800