Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » how to replace a TableViewer in a wizard page
how to replace a TableViewer in a wizard page [message #500594] Thu, 26 November 2009 17:26 Go to previous message
Eclipse User
Originally posted by: yoduderoo.netscape.net

Hi,
I have a wizard page containing a table viewer which displays tabular
data depending on how the user entered a given field. The user can
clear the field, enter something else and a new table is displayed. The
headings and number of columns is different depending on that input.

I am having a hard time figuring out how to do this. I create a
composite to contain the TableViewer. Should I dispose that and somehow
clear it before redrawing? Do I recreate a new tableviewer each time and
then call the composite's layout() method?

I keep trying various approaches but am getting nowhere.

thanks, y
 
Read Message
Read Message
Previous Topic:HP-UX problem : unsatisfied link error
Next Topic:Multi-column tree with tree not in 1st column?
Goto Forum:
  


Current Time: Fri May 24 15:25:45 EDT 2013

Powered by FUDForum. Page generated in 0.01612 seconds