Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » TableView.getCell() returns null on windows xp
TableView.getCell() returns null on windows xp [message #481047] Wed, 19 August 2009 12:31 Go to next message
Scott Pelton is currently offline Scott PeltonFriend
Messages: 81
Registered: July 2009
Member
Using jface 3.4.1 on Windows XP sp2.

I create a TableViewer (with FULL_SELECTION) that lives in a ViewPart. I
extend StyledCellLabelProvider and override paint(), erase(), update().
Whenever I call getCell(new Point(event.x,event.y()) on my table viewer
(from the overridden paint() method), the returned ViewerCell is null for
all table columns except column 0.

BTW, works fine on Windows Vista sp2.
Re: TableView.getCell() returns null on windows xp [message #481160 is a reply to message #481047] Wed, 19 August 2009 20:37 Go to previous messageGo to next message
Scott Pelton is currently offline Scott PeltonFriend
Messages: 81
Registered: July 2009
Member
Also when selecting a row in the tableviewer that row paints just fine.
All other unselected rows only paint the first column (col index==0). Also
multi selecting rows only paints first rows for all rows (selected or not).

Also, tested on windows xp using jface 3.5 - same problem!
Re: TableView.getCell() returns null on windows xp [message #481161 is a reply to message #481160] Wed, 19 August 2009 20:39 Go to previous message
Scott Pelton is currently offline Scott PeltonFriend
Messages: 81
Registered: July 2009
Member
correction...meant to write:
Multi selecting rows only paints first column (col index==0) for all rows
(selected or not).
Previous Topic:databinding and Vetoable change
Next Topic:[Databinding] Shared objects in a model displayed in a TreeViewer
Goto Forum:
  


Current Time: Thu Apr 25 09:18:49 GMT 2024

Powered by FUDForum. Page generated in 0.03545 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top