|PatternFilter and CNF [message #795530]
||Fri, 10 February 2012 10:27
| Bert Van Kets
Registered: February 2012
I'm building an RCP application and using a Common Navigator Framework tree in a view.
I want to add a PatternFilter but can't get it to work properly. Adding the filter to the CommonViewer seems to work, but when ever I want to change the search string it seems the old filter remains in place, even when I change the search string on the existing PatternFilter.
The search string is provided by a Text component I added to the view. The filtering is triggered by an addKeyListener on the Text component.
Filtering in the ContentProvider is not an option as the content for this CNF is provided by different bundles, not the bundle the navigator is defined in.
I have looked high and low, but can't find an example on how to add pattern filtering to a CNF implementation.
Anybody got any hints?
Powered by FUDForum
. Page generated in 0.04714 seconds