Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » [Databinding] Problem with ComboViewers and Filters
[Databinding] Problem with ComboViewers and Filters [message #1703965] Thu, 06 August 2015 08:39
Eclipse UserFriend
Hi,

I am experiencing a problem with ComboViewers and Filters. I have a
master-detail scenario where the content of the ComboViewer depends on
the selected master object - meaning, the filter of the ComboViewer gets
updated when the master is switched.

What is special in my case is that the new Filter might filter out the
currently selected element of the ComboViewer that belongs to the old
master object. For me it looks like the new Filter gets applied too
early when the master gets switched and thus, causes side effects to the
old master.

At run-time, the ComboViewer works perfectly fine until I switch between
two master elements that have a conflicting selection and filter.

I also tried to filter the elements in the ContentProvider's
getElements() method which caused the same effect.

I am using an EMF-based data model for data binding.

Either I am doing something wrong or there is a bug. Any ideas how to
solve this issue?

Thanks for your help!

Regards,

Stefan
Previous Topic:Table/Form within a Table cell
Next Topic:SWT and Windows 10
Goto Forum:
  


Current Time: Thu Sep 20 20:00:20 GMT 2018

Powered by FUDForum. Page generated in 0.01679 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top