Adding a Child Class

In preparation for doing push down method, I needed a place to push down my method to. This refactoring adds a child class. To use this refactoring, select the class that needs the child. Then right click on any selected class to show the popup menu. Select "Add Child Class" from the popup menu. Enter the name of the new child class.

The automation process creates the new class with no methods or fields. Plus it updates the existing classes. Finally, it resolves any name conflicts in class files in other packages.

To add a child class, press the right mouse button on the class to gain a new child class. Select add child class from the menu. Enter the name of the child class in the dialog box.


Last Modified: 30 October 2003