|[Databinding] Problem with ComboViewers and Filters [message #1703965]
||Thu, 06 August 2015 08:39
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
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!
Powered by FUDForum
. Page generated in 0.01679 seconds