Team1/Renaming Java elements

From CDOT Wiki
Jump to: navigation, search

6. Renaming Java elements

6.1. While the particular class is selected, click on Refactor -> Rename
Rename1.jpg


6.2. In the Rename Compilation Unit window, write down the new name for the class, e.g.VehicleRegistration and check the Update references" then click on Next .
Rename2.jpg


6.3. In the new window, the changes to be performed are displayed.
Rename3.jpg


6.4. Note the new class name in the content of the class..
Rename4.jpg