PDA

View Full Version : [CLOSED] Unable to load the TableViewer until the table is rendered



goodwrench
2 May 2008, 12:43 PM
Currently it is not possible to load the table viewer by invoking its content's provider load method until the table is rendered. The load operation fails on NPE in the TableViewer.onBeforeLoad function. I've added a quick null check in TableViewer.onBeforeLoad, onLoad an onLoadException, and everything started working fine.
It seems like the problem with TableViewer accessing the Table.el variable directly. Is this a bug, or by design?

darrellmeyer
20 May 2008, 9:01 PM
Viewers have been removed from library as of beta 3.