Open main menu

CDOT Wiki β

Changes

Team1/Navigate to a Java element's declaration

30 bytes removed, 11:40, 30 January 2011
no edit summary
=== 8. Navigate to a Java element's declaration ===
 
8.1. Select the element you want to look through, e.g. ''vehicle(constructor)'' then either:<br/>
[[Image:declerationa.jpg |600px]]
 
<br/>8.2.1. Go to ''Navigate - > Open Decleration'' or press ''F3''.<br />
[[Image:decleration1.jpg |500px ]]
=== <br/>8. Navigate to a Java 2.2. Or, right click on the elementand click on ''Open Decleration's declaration ===' or press ''F3''.<br />[[Image:decleration2.jpg |500px ]]
8.1. Select the element you want to look through, then go to ''Navigate - > Open Decleration'' or press ''F3''. <br/>
[[Image:decleration1.jpg |600px]]
<br/>8.2. In the ''New Java Class'' window, write down your class name, e.g."VehicleRegistration" and check the ''public static void main(String[] args)''. Press Finish to close the window.<br />
[[Image:newclass2.jpg |500px ]]
<br/>8.3. The following code will be implementation of the content constructor of the ''VehicleRegistrationVehicle'' class in ''cs.ecl.basics.lab'' packagewill be opened up.<br />[[Image:newclass3decleration3.jpg |600px ]]
1
edit