The Navigator window provides a compact view of the currently selected file and simplifies navigation between different parts of the file.
For Java files, you can see a list of constructors, methods, and fields.
For some kinds of XML files, you can use the Navigator to view the structure of the file. The Navigator window works with standard XML documents, XML schema files, and Ant scripts.
You can open the Navigator window by choosing Window > Navigator (Ctrl-7). By default, the Navigator window opens in the lower left corner of the IDE. To display a source file in the Navigator window, select the file in the Source Editor, the Projects window, the Files window, or the Favorites window. Once a file is displayed, you can use the Navigator window to focus on a specific nodes contained in the document. To do so, click on a given node in the Navigator window, and your cursor automatically relocates to the node's position in the document.
When a Java file is selected, a drop-down list appears at the top of the Navigator window to enable you to choose between the following two views:
You can display the Javadoc documentation for a member by hovering the mouse over the member's node.
In the Members view, you can right-click a node and choose the following commands:
You can also activate and disable filters using the buttons at the bottom of the Navigator window.
For XML files, the Navigator view displays a tree of elements.
You can right-click an element node and choose the following options for the level of detail to have displayed on the lines in the Navigator window:
When an Ant build script is selected, a drop-down list appears at the top of the Navigator window to enable you to choose between the following two views:
When the Ant Targets view is selected, you can right-click a node and choose one of the following commands:
When XML View is selected, you can right-click a node and choose one of the following options for the level of detail to have displayed: