Move Class dialog box

This is a feature of JBuilder Professional and Enterprise.

The Move Class dialog box lets you a class to a new package. Move refactoring a class moves that class to a new package as long as the new package does not already contain a source file of the new name. The package and import statements in the class source file, as well as in all classes that reference the moved class, are updated. (An import statement is added for any dependencies the class has on the package it is being moved from.) The class must be the top level public class.

To display this dialog box, select the class you want to move from the editor or from the UML class diagram. Right-click and choose Move.

From Package

The package the class is currently in.

To Package

The name of the package the class is being moved to.

View References Before Refactoring

Displays potential changes before completing the refactoring.

OK

Completes the refactoring.

See also