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
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.
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.
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
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.
passing to java/navigation owner, I think it is already implemented? (Ctrl+F12)?
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)