Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 57433 - Separate the outline view and hierarchy view.
Separate the outline view and hierarchy view.
Status: RESOLVED WORKSFORME
Product: java
Classification: Unclassified
Component: Navigation
4.x
All All
: P3 with 1 vote (vote)
: TBD
Assigned To: Tomas Zezula
issues@java
: UI
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-04 15:40 UTC by _ sandipchitale
Modified: 2015-03-28 11:29 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ sandipchitale 2005-04-04 15:40:13 UTC
Cuyrrently the navigator allows the user to look at either class outline or 
hierarchy through the use of combobox and a card layout(?). However sometimes 
I want to look at both the views ast the same time. Show the class outline or 
hierarchy in separate panes in a split pane. Or even better in separate 
TopComponent.

This also has an advantage that the class outline could be ties to the 
currently open document. However the hierarchie view should not be tied to 
necessarily with the currently open documents class. In fact, the user most 
likely want to look at hierarchy of class (and details about it such as it's 
outline) he/she is using in the code.

Based on the above two I feel that there should be

- a class outline tied to the currently open document
- a separate hierarchy view, possibly not tied to the currently open document. 
The user should able to force the heirarchy view to track the currently open 
document though. The hierarchy view should also have an outline view for the 
class selected in the hierarchy.
- it will be really great if there could be multiple hierarchy views.
Comment 1 David Simonek 2005-05-09 16:51:54 UTC
Could you please write down use cases where mentioned improvements will take
places - simply in what situations are they useful, with estimation how frequent
such use case is for you. Thanks.
Comment 2 _ sandipchitale 2005-05-09 19:09:22 UTC
I need the current documents class outline view to quickly navigate within the 
document. This is kind of an obvious use case of a Table of Content to 
navigate in a document functionality. The inner classes are currently missing 
and I would like to see those in the outline view. I use this very often.

I should also be able to load the hierarchy of Java Type under cursor into the 
hierarchy view. That is because while coding a class it is likely I know the 
hierarchy of the current class. I may be more interested in the hierarchy of 
the classes I am using rather than the class I am working on. I use this very 
often. The hierarchy could be made to track the current document with an 
option though.

Sometimes I like to see exactly the classes in that hierarchy where a method 
is being overridden. It should be possible to show that in the hierarchy view. 
Same goes for protected fields. I use this very often.

All these are also useful for studying code written by others in a large team 
with which is today's reality.

Overall the Class outline and Class hierarchy are not exclusive views. I 
should be able to look at both at the same time.

Many of these features are found in rival IDE's hierarchy view. 
Comment 3 David Simonek 2008-10-20 16:22:41 UTC
passing to java/navigation owner, I think it is already implemented? (Ctrl+F12)?
Comment 4 markiewb 2015-03-28 11:29:02 UTC
Worksforme. NB8.0.2.

There is a separate hierachy view (at least starting from NB7.3 http://wiki.netbeans.org/NetBeans_73_NewAndNoteworthy#Redesign_of_inspect_members_and_hierarchy)


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