Working with the Preview Page

During refactoring operations, you can click Preview to examine the effects of the operation on the project. If a pre-check finds issues that may prevent the operation from completing successfully, a problem page appears instead.

Checks in the upper panel indicate elements that will change as a result of a refactoring operation. Expand to take a closer look at individual folders and elements. All elements that appear are affected by the change. When you highlight an element, details of the change to be made are shown in the lower panel.

The Original Source panel on the left and the Refactored Source on the right use the persisted format of the element. Change bars indicate changed areas.

Do any of the following as needed to examine the changes and select a subset of the changes to be done on clicking OK:

  • In the upper panel, use the arrows to navigate up and down a long list of changes.
  • Click the Filter Changes button and select Hide Derived Resources. For example, a diagram is a derived resource. Diagrams are not persisted. You can easily recreate them. So you may not be interested in seeing those changes.
  • If you want to apply the change to only some of the project elements, clear the check boxes next to the elements as desired. For example, you may wish to replace or delete an element after you have completed the refactoring operation, so you do not need to apply the change to that element.
    Note:
    Accept all changes to be performed
     Your project can become corrupted if you do not make the changes throughout the project. Only deselect changes if you have a specific, valid reason to do so.