Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Updating TableViewer input
Updating TableViewer input [message #453227] Fri, 01 April 2005 11:56
shane is currently offline shaneFriend
Messages: 11
Registered: July 2009
Junior Member
Hi,

I have a JFace ListViewer and TableViewer. The contents of the TableViewer
depends on what item is selected in the ListViewer. I've added an
ISelectionChangedListener to the ListViewer which calls the TableViewer
setInput() method.

Although the TableContentProvider and TableLabelProvider methods are being
executed (I've added System.out.println statements that print out the
expected results and values), the changes are not showing up in the GUI.
Is there a refresh method or something I should be using? Or should I use
inputChanged() rather than setInput()?

Thanks,
Shane
Previous Topic:Transparent Windows
Next Topic:How to capture ENTER when a default button is defined
Goto Forum:
  


Current Time: Tue Oct 22 09:14:02 GMT 2019

Powered by FUDForum. Page generated in 0.02212 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top