Community
Participate
Working Groups
I20040413 - Select a package, that has a bunch of inner classes, in the Package Explorer. (I selected org.eclipse.swt.examples.controlexample - it's in the org.eclipse.swt.examples project). - Choose "Open Type Hierarchy" (or F4). - After the Hierarchy View opens, you will notice that the "meat" of what you want to look at is somewhat obscured. (In my case, there are really only two hierarchies in this package that are interesting: ControlExample, and Tab). It would be nice if I could choose to hide the inner class hierarchies with an easy-to-access tool button on the Hierarchy View's toolbar. (Also would be nice if the inner class hierarchies could come up collapsed in the tree, instead of expanded). In SWT, we tend to have a lot of listeners, and we almost never want to see them as a class in their own right, because they are only interesting in the context of the class that they are defined in. (So it makes more sense to just go see them in the compilation unit of the defining class). I suspect that it is more important to allow hiding of anonymous inner classes than named ones. The anonymous ones just aren't very interesting by themselves.
At the very least, please don't expand the tree to show inner classes - particularly anonymous ones. I just said "Browse Hierarchy" on the org.eclipse.swt project, and there are bunches of uninteresting anonymous inner classes taking up valuable tree view real estate. :) Thanks.
unfortunatly the filter feature for the hierarchy didn't make it for M9 *** This bug has been marked as a duplicate of 40630 ***