Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsFiltering items int Table/List property editor?
https://www.eclipse.org/forums/index.php/mv/msg/837018/1451797/#msg_1451797
Maybe I missed something, but can't find how to filter out some elements from Table/List property editor.
And I want to show e.g. only cars with Type == "Truck" in a table]]>Dmitry K2014-10-24T09:47:12-00:00Re: Filtering items int Table/List property editor?
https://www.eclipse.org/forums/index.php/mv/msg/837018/1452071/#msg_1452071
Konstantin Komissarchik2014-10-24T18:58:36-00:00Re: Filtering items int Table/List property editor?
https://www.eclipse.org/forums/index.php/mv/msg/837018/1453718/#msg_1453718
Dmitry K2014-10-27T11:19:14-00:00Re: Filtering items int Table/List property editor?
https://www.eclipse.org/forums/index.php/mv/msg/837018/1460603/#msg_1460603
To show a pre-filtered list on a form, you need to create a filtered list property in the model. Define the filtered list property just like the original property, then add @CustomXmlListBinding tag with a reference to a class you create that extends StandardXmlListBindingImpl. To achieve filtering, you will want to override the readUnderlyingList() method and filter the list returned by the base implementation.]]>Konstantin Komissarchik2014-11-03T18:53:46-00:00