Bug 175269 - [type hierarchy] add filter: show only interfaces
Summary: [type hierarchy] add filter: show only interfaces
Status: RESOLVED DUPLICATE of bug 40630
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-23 08:25 EST by Rafael Chaves CLA
Modified: 2007-02-26 12:41 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Chaves CLA 2007-02-23 08:25:59 EST
Provide toggle buttons on the Hierarchy view that allow showing only interfaces. 

This is related to bug 40630, not as comprehensive but much simpler to support.

Use case: many API are defined exclusively in terms of interfaces, often as a hierachy of interfaces (see EMF's EObject hierarchy, UML2's Element hierarchy, Eclipse OCL's OCLExpression hierarchy). To understand these API, it is essential to have a good view of the hierarchy. However, the Hierarchy view shows all implementations along with the interfaces. The fact that the interface multiple inheritance DAG is tree-ified makes it much worse, because now dozens of uninteresting implementors appear in the tree everytime the interface appears.

It might make sense to also support showing only classes (the only mode supported by the hierarchy view in earlier versions), but I don't have a requirement for that.
Comment 1 Martin Aeschlimann CLA 2007-02-26 10:44:43 EST
I think it would go togther with bug 40630.

*** This bug has been marked as a duplicate of bug 40630 ***
Comment 2 Rafael Chaves CLA 2007-02-26 12:41:39 EST
I understand. I was just hoping a more ad hoc solution could be devised for this case (and retrofitted later on work on top of whatever comes out from bug 40630).