First page Back Continue Last page Text

oracle adf workshop


Using the Structure Window

The Structure window is displayed by default below the Application Navigator. If it is not visible, select View > Structure to display it.

When you select an element in a navigator, editor, or the Property Inspector, the Structure window displays the elements of the selected document in a tree format. For example, when you select a .java source file, the classes, interfaces, methods, and variables are displayed, and you can sort and view them. You can use the Structure window to quickly locate and navigate to specific areas of the code in your Java source files and to browse the class hierarchy.

When you design a user interface with the visual editor, the Structure window displays the components of the UI and their associated event-handling methods in a hierarchical tree format. The Structure window enables you to create new components in the desired location, whereas such precise placement is often difficult in the visual editor.

You can open as many new instances of the Structure window as you want. New instances automatically track the active selection in the active view unless frozen. You can freeze and unfreeze the selection in the window by clicking Freeze View. You can click the New View icon to open a new instance of the Structure window that appears docked with the existing window or windows.