|FilteredItemsSelectionDialog - refreshing content provider [message #328955]
||Sun, 08 June 2008 06:11
Originally posted by: fraserofthenight.gmail.com|
I have a filtered content selection dialog, and in the extended content
area I have a checkbox that adds an extra filter. I added a selection
listener to the checkbox so that whenever the user selects/deselects it,
I want the dialog to empty its content and re-call
fillContentProvider(). However, I can't seem to make it do this (I've
tried refesh(), scheduleRefresh() and reloadCache()).
Is there any way to force the dialog to call fillContentProvider().
Short of that, I can't even seem to make it call matches() on every
item, so is there a way to force it to do that and re-match the items?