Difference between revisions of "Team1/Renaming Java elements"

From CDOT Wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
6.1. While the particular class is selected, click on ''Refactor -> Rename''<br/>
 
6.1. While the particular class is selected, click on ''Refactor -> Rename''<br/>
[[Image:rename1.jpg |600px]]
+
[[Image:rename1.jpg |500px]]
  
 
<br/>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 .<br />
 
<br/>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 .<br />
[[Image:rename2.jpg |500px ]]
+
[[Image:rename2.jpg |400px ]]
  
 
<br/>6.3. In the new window, the changes to be performed are displayed. <br />
 
<br/>6.3. In the new window, the changes to be performed are displayed. <br />
[[Image:rename3.jpg |600px ]]
+
[[Image:rename3.jpg |500px ]]
  
 
<br/>6.4. In the new window, the changes to be performed are displayed.<br />
 
<br/>6.4. In the new window, the changes to be performed are displayed.<br />
[[Image:rename4.jpg |600px ]]
+
[[Image:rename4.jpg |500px ]]

Revision as of 12:17, 30 January 2011

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. In the new window, the changes to be performed are displayed.
Rename4.jpg