Given a TreeViewer and ViewerFilter, is there an easy way to hide nodes that have all their children filtered out?
For example:
nodeA
--subNode1
--subNode2
nodeB
--subNode3---subsubx
---subsuby
---subsubz
--subNode4
--subNode5
If the user selects the ViewerFilter that filters out all "subsub*" children, the tree still displays "--subNode3".