I have a problem when trying to define a filter for folders or any other element within a project tree. My problem is that i want to show some sub-folders or sub-elements contained in one parent folder that i may want to hide/filter. If i filter the parent folder, then children folders or elements contained are filtered by default, and I am not able to show them in my tree view.
Initially i was using PackageExplorerPart
, and now I'm getting into Common Navigator Framework. I would need to know if this filter behaviour is possible, using PackageExplorerPart
or this CommonNavigatorFramework
. Any aproach or documentation to start solving this problem would be very appreciated.
Thank you in advance!
If you filter the parent, the children are filtered by default. If you want only few of the children to be filtered, then you should set the filter on that pattern only - not on the parent