Updating certain columns in a TableViewer [message #330188] |
Fri, 18 July 2008 15:07 |
Derek Rea Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Hello,
I am wondering how to go about updating the labels of items in my
TableViewer, but only certain columns. For instance, I don't want the
first column's label to be updated, but the rest I do.
As far as I can tell, I think I can do this by using
tableViewer.update(Object, String[]) where the String[] is a list of
properties (columns?) to update. However, I am not sure what goes into
the String[] - are there predefined constants to use? Or are these the
names of my column headers? Something else?
I have not been able to find any examples of tableViewer.update(Object,
String[]) being used when the String[] is not null - if anyone can point
me to one (or more), please do so.
Any help is appreciated.
Thanks,
Derek
|
|
|
|
Re: Updating certain columns in a TableViewer [message #330196 is a reply to message #330195] |
Fri, 18 July 2008 16:53 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Derek R. wrote:
> My appologies - meant to post this in eclipse.platform.swt. I will do
> so now.
Actually, viewers are part of JFace, not SWT; and JFace questions are
appropriate in this newsgroup.
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.03197 seconds