Team1/Renaming Java elements

From CDOT Wiki
Revision as of 11:05, 30 January 2011 by Minooz (talk | contribs)
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. The following code will be the content of the VehicleRegistration class in cs.ecl.basics.lab package.
Rename3.jpg