Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] List box doesn't refresh until losing focus

Hi,

I have a view (documentbrowser) which displays data based on 
ISelectionListener. The actual view is working great with regards to this.
Within this view i have a list box which allows me to add or remove 
documents. When I add documents the list is populated fine as I loop 
 through a list of docs and add them to the list:

 documentsDisplayList.add(ar.getFileName());

 however when I try to remove documents the list doesn't refresh the 
 changes until it loses focus, i.e. i click on another viewpart. I've 
 tried
 form.reflow() etc but nothing seems to work. Can anyone advise on this?

 Regards,

 Matt

-- 
View this message in context: http://www.nabble.com/List-box-doesn%27t-refresh-until-losing-focus-tp22343755p22343755.html
Sent from the Eclipse Platform - swt mailing list archive at Nabble.com.



Back to the top