[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: [jface.viewers] May CellLabelProvider.update be called by clients?

Tom Schindl wrote:
Hi,

I'm not sure I got this completely. Are you asking whether you should
call CellLabelProvider.update() your own?

Yes, this seems natural, because the listener for MouseMove is already part of my CellLabelProvider.

I don't think this should be done but rather you should force the
table/tree to redraw the "dirty" parts. Using
Table/Tree#redraw(int,int,int,int,boolean).

Interesting, could you please argue why?

And assuming I would do so, does that ensure that my hyperlink-capable StyledCellLabelProvider's update method is then indirectly called? Because otherwise I don't see how I could ensure that basically happens what my current StyledCellLabelProvider#update does except for the
different font color?


Thanks again,

Daniel