DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page TableViewer and ViewerFilter
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Aug 2008
Default TableViewer and ViewerFilter - 08-08-2008, 03:01 PM

I have a TableViewer with a ViewerFilter. The content is set using an ArrayContentProvider. If I call TableViewer.update(object, string[]) on an update that is currently being displayed, the filter filters it out (if necessary) properly. However, when I update an item that is currently not being displayed, but should be after the update, the object does not reappear.

From looking through the StructuredViewer code, it looks like the update occurs only on items currently in the table (since findItems searches through TableItems and not through the input).

Am I missing something?

Thank you.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
TableViewer with dynamic number of columns danielmei Eclipse 1 09-16-2008 08:22 PM
Create new row in TableViewer by tabbing CBMMelb Eclipse 0 09-13-2008 11:40 PM
Multiple selection in TableViewer jayjamba Eclipse 6 07-22-2008 04:16 AM
ComboBoxCellEditor in TableViewer CBMMelb Eclipse 2 05-16-2008 02:22 AM
Switching from TableViewer to TreeViewer at running time (reloaded) andrea_casarella Eclipse 0 04-06-2008 07:55 PM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com