Bug 59281 - Please add "Show/Hide Inner Classes" to Hierarchy View [type hierarchy]
Summary: Please add "Show/Hide Inner Classes" to Hierarchy View [type hierarchy]
Status: RESOLVED DUPLICATE of bug 40630
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-20 11:50 EDT by Carolyn MacLeod CLA
Modified: 2004-05-18 12:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2004-04-20 11:50:32 EDT
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.
Comment 1 Carolyn MacLeod CLA 2004-05-18 11:48:06 EDT
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.
Comment 2 Martin Aeschlimann CLA 2004-05-18 12:08:19 EDT
unfortunatly the filter feature for the hierarchy didn't make it for M9

*** This bug has been marked as a duplicate of 40630 ***