sort redraw problem 8-( [message #466567] |
Wed, 11 January 2006 18:16 |
steve lane Messages: 24 Registered: July 2009 |
Junior Member |
|
|
Help ! I have a UAT release tomorrow and my code isnt doing what it should
! I have some sorting which works fine, it sorts the data and redraws
automatically (im using jfaces).
i sort like this:
put a selection listener on each column and call the setSorter method for
my table viewer passing in the label provider. works a treat ... but, my
label provider implements the getColumnImage as well as getColumnText as
my first 2 cols have an image.
The problem i have is, when the sorting is done, the screen hasnt
re-drawn properly for my image columns. If i drag the column width
slightly or move to a different screen and back, i.e force a redraw, it
looks fine. But im not sure how to force the re-draw after the sorting.
Also, if i put some debug statements into my getImage, it works
correctly !!! grrrr !!!! What am i doing wrong.
thanks,
steve.
|
|
|
Re: sort redraw problem 8-( [message #466580 is a reply to message #466567] |
Wed, 11 January 2006 19:41 |
Veronika Irvine Messages: 1272 Registered: July 2009 |
Senior Member |
|
|
To geta faster response, ask this JFace question in the eclipse.platform
newsgroup - this is where the JFace owners regularly hang out.
"steve lane" <steve.x.lane@jpmchase.com> wrote in message
news:c38c00a42b6f6d9d675f4462686c67de$1@www.eclipse.org...
>
> Help ! I have a UAT release tomorrow and my code isnt doing what it should
> ! I have some sorting which works fine, it sorts the data and redraws
> automatically (im using jfaces).
>
> i sort like this:
>
> put a selection listener on each column and call the setSorter method for
> my table viewer passing in the label provider. works a treat ... but, my
> label provider implements the getColumnImage as well as getColumnText as
> my first 2 cols have an image.
> The problem i have is, when the sorting is done, the screen hasnt
> re-drawn properly for my image columns. If i drag the column width
> slightly or move to a different screen and back, i.e force a redraw, it
> looks fine. But im not sure how to force the re-draw after the sorting.
> Also, if i put some debug statements into my getImage, it works
> correctly !!! grrrr !!!! What am i doing wrong.
>
> thanks,
>
> steve.
>
|
|
|
Powered by
FUDForum. Page generated in 0.03766 seconds