Extract Superclass Dialog Box

See Also

Use this dialog box to specify options for the Extract Superclass refactoring command. You can use the Extract Superclass command to create a new superclass based on public non-static methods in the selected class.

You can open the Extract Superclass dialog box by choosing Refactor > Extract Superclass after you have selected a class in the Source Editor, Projects window, or Files window.

The dialog box has the following fields:

If you want to preview the changes, you need to follow these steps to complete the refactoring:

  1. Click Preview.

    The Refactoring window opens and displays a tree view of the code to be affected by the refactoring.

  2. Check the items displayed in the Refactoring window to make sure that you want them all changed. Clear the checkbox next to any parts of the code that you do not want changed.
  3. Click Do Refactoring.
See Also
About Refactoring
Refactoring: Quick Reference
Undoing Refactoring Changes

Legal Notices