[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: reset itemcount in tableviewer

Hi,


> What about simply calling refresh?
 
Well the problem lies in the setItemCount method. I don't want to load the
whole list of words. I didn't use the ViewerFilter with the
ILazyContentProvider. The idea was to tell the viewer a new itemcount,
refresh the viewer and retrieve the filtered data in the ContentProvider.

But it seems that the deletion (disposing) of the generated tableitems,
which i don't need anymore needs lot's of time (I didn't waited long enough
to let the gtk finish this job). It is always possible to pause in the
debugger so it's no real freeze, I guess. If I pause the debugger leads to
the OS._gtk_list_store_remove Method.

Hannes