Bug 175269

Summary: [type hierarchy] add filter: show only interfaces
Product: [Eclipse Project] JDT Reporter: Rafael Chaves <eclipse>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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).