eclipse - Refresh only one column/cell from a SWT / JFace TableViewer -
i have big table (aprox 1000 rows) , 20 columns. out of 20 columns need 1 refreshed 1 time every 2-3 seconds ( holds elapsed time object creation ) , have tried refreshing whole table every 3 seconds because of many rows big performance penalty whole table refresh.
anyone seen way refresh 1 cell / 1 column in jface tableviewer ?? need 1 elapsed time column refresh , that's it.
any help appreciated.
thanks mircea
i see tableviewer didn't expect refresh 1 cell in row.
abstracttableviewer protected void doupdateitem(widget widget, object element, boolean fullmap)
you need override above method. current implementation refreshes entire row ( invokes labelprovider
on each cell)
you can follow same implementation invoke update on specific viewercell
eclipse jface tableviewer
No comments:
Post a Comment