Move Members Dialog Box

See Also

Use the Move Members dialog box to specify the target where selected methods and fields of the source are to be moved. The Move Members dialog box appears after you have chosen the Refactor > Move refactoring command while having a class method or field selected in the Source Editor or in the Members View of the Navigator.

The dialog box has the following fields:

If you want the class to be moved immediately, click Refactor.

If you want to preview the change first, follow these steps:

  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
Refactoring: Quick Reference
Move Class Dialog Box
Renaming a Class or Interface
Renaming a Field or Method
Moving a Class to Another Java Package
Undoing Refactoring Changes

Legal Notices