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

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()?

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

Current Time: Fri Mar 05 20:40:54 GMT 2021

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

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

Back to the top