Friday, April 17, 2009
Eclipse CNF filters
Recently I needed to apply a filter to a third party view. I could not easily work with given view because I did not have source code available and had to rely on reflection to add needed filters. At first I implemented org.eclipse.ui.startup to find the view and apply the filter - however this did not work as I wanted. Luckily the view relied on CNF and I was able to use org.eclipse.ui.navigator.navigatorContent to insert my filter without any need for reflection or searching view of interest.