Updating certain columns in a TableViewer [message #330188] |
Fri, 18 July 2008 15:07  |
Eclipse User |
|
|
|
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
|
|
|
Re: Updating certain columns in a TableViewer [message #330577 is a reply to message #330196] |
Mon, 04 August 2008 12:13  |
Eclipse User |
|
|
|
I answered there on the question the String-array is used e.g. by
filter-concept. We should fix our JavaDoc of the method explaining what
this value is used for. There's no solution for your usecase currently.
Tom
Eric Rizzo schrieb:
> 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
--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
|
|
|
Powered by
FUDForum. Page generated in 0.04539 seconds