Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 139783

Summary: Add "quick hierarchy" for methods
Product: java Reporter: klaasjanelzinga <klaasjanelzinga>
Component: EditorAssignee: Dusan Balek <dbalek>
Status: NEW --- QA Contact: issues <issues.netbeans.org>
Priority: P3 CC: markiewb
Version: 6.x   
Target Milestone: TBD   
Hardware: All   
OS: All   
Whiteboard:
Issue Type: ENHANCEMENT Exception Report:
Attachments: Example with description

Description klaasjanelzinga 2008-07-12 09:37:06 UTC
Currently I am using Eclipse as well as Netbeans. A feature I miss in Netbeans is the "quick hierarchy" from eclipse:
- I have an interface.
- I have an implementing class.
- I have a class that uses the interface. 

If (in eclipse) my cursor is on a method of the interface and I press ctrl-t (quick hierarchy) I can navigate to the
implementing class. The functionality in netbeans is to position the cursor on the interface type and then
ctrl-shift-F12 (open hierarchy), then I can navigate to the implementing classes.

Besides this hierarchy viewer a more 'Quick Hierarchy' would be nice. Also, if the cursor is on a method, use this as a
starting point in the hierarchy navigation (types implementing this method).
Comment 1 markiewb 2013-01-16 17:27:44 UTC
Created attachment 130293 [details]
Example with description

(In reply to comment #0)
> Currently I am using Eclipse as well as Netbeans. A feature I miss in Netbeans
> is the "quick hierarchy" from eclipse:
> - I have an interface.
> - I have an implementing class.
> - I have a class that uses the interface. 
> 
> If (in eclipse) my cursor is on a method of the interface and I press ctrl-t
> (quick hierarchy) I can navigate to the
> implementing class. The functionality in netbeans is to position the cursor on
> the interface type and then
> ctrl-shift-F12 (open hierarchy), then I can navigate to the implementing
> classes.
> 
Works for me. I tested it with interfaces/classes in 7.3. FYI There was a hierarchy view redesign in 7.3.

---
Yes, what is still missing is the hierarchy view for methods. So i will rename this issue to reflect it.

The usecase is "I want to see where the given method is defined or overridden"

Details - as seen in eclipse ui - see screenshot
* invoke "Call hierarchy view" for a method -> the hierarchy view is opened
** the symbol of the classes/interfaces where the method is NOT defined nor overriden will be grayed out
** the symbol of the classes/interfaces where the method is defined or overriden is "colorful"/not grayed out
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo