Refactoring Window

The Refactoring window displays every instance in your application that could be affected by refactoring, and lets you exclude files or individual instances from refactoring. The Refactoring window contains the following sections:

Element Description

Tree of Instances

The tree displays all instances of the element that you want to rename. Using the navigation buttons in the toolbar you can view either a logical tree, organized by syntax, or a physical view, organized by location. By default, all instances are selected. Deselect an instance if you do not want to rename that instance. Select an instance to preview the current/refactored form in the Preview pane.

Preview Pane

Use the Preview pane to compare the original and refactored versions of the selected instance.

Do Refactoring

Click Do Refactoring to rename all the instances that are selected in the tree.

Deselect the instances in the tree that you want to exclude before you click Do Refactoring. If you do not want to rename any instances, click Cancel..

Toolbar

The left side of the Refactoring window contains the following buttons in the toolbar for navigating through the tree of instances and modifying how the instances are organized and displayed in the tree of instances.

Refresh icon

Refresh

Collapse all node icon

Collapse all nodes in tree

Expand all nodes icon

Expand all nodes in tree

Show Logical View icon

Show logical view (organized by syntax)

Show Physical View icon

Show physical view (organized by location)

Previous occurrence icon

Previous occurrence

Next occurrence icon

Next occurrence



Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.