Difference between revisions of "Team1/Editing Java elements"

From CDOT Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Editing Java elements ===
+
=== 4. Editing Java elements ===
  
1.1. Java elements are edited/browsed in editors. An editor is a visual component within the Workbench. Launch an editors by clicking on a MyFirstJavaProject.txt <br/>
+
4.1. Java elements are edited/browsed in editors. An editor is a visual component within the Workbench. Launch an editors by clicking on a FirstJavaProject.txt <br/>
[[Image: Editor1.jpg | 600px ]]
+
[[Image: Editor1.jpg | 700px ]]
  
<br/>1.2. Type in <code>This is my editor</code>. The asterics apeares beside the file name indicating that file have unsaved changes.<br/>
+
<br/>4.2. Type in <code>"This is my editor"</code>. The asterics apeares beside the file name indicating that file have unsaved changes.<br/>
[[Image: Editor2.jpg | 500px]]
+
[[Image: Editor2.jpg | 400px]]
  
<br/>1.3.
+
<br/>4.3. Save the file and type in as second line <code>"This is an extra line"</code>. Save your changes and right click on editor's area and choose ''Compare to -> Local History''.<br/>
 +
[[Image: Editor3.jpg | 700px]]
 +
 
 +
<br/>4.4. The ''History'' view is showing local savings for this file. Select the latest save<br/>
 +
[[Image: Editor4.jpg | 400px]]
 +
 
 +
<br/>4.5. A new Compare editor appears in the editor window, showing the current and previous versions of the file<br/>
 +
[[Image: Editor5.jpg | 700px ]]
 +
 
 +
<br/>4.6. Here you can undo last changes by clicking on ''Copy Current Changes from Right to Left''<br/>
 +
[[Image: Editor6.jpg | 400px]]
 +
 
 +
<br/>4.7. Save your text file and close the ''Compare'' editor.

Latest revision as of 09:04, 1 February 2011

4. Editing Java elements

4.1. Java elements are edited/browsed in editors. An editor is a visual component within the Workbench. Launch an editors by clicking on a FirstJavaProject.txt
Editor1.jpg


4.2. Type in "This is my editor". The asterics apeares beside the file name indicating that file have unsaved changes.
Editor2.jpg


4.3. Save the file and type in as second line "This is an extra line". Save your changes and right click on editor's area and choose Compare to -> Local History.
Editor3.jpg


4.4. The History view is showing local savings for this file. Select the latest save
Editor4.jpg


4.5. A new Compare editor appears in the editor window, showing the current and previous versions of the file
Editor5.jpg


4.6. Here you can undo last changes by clicking on Copy Current Changes from Right to Left
Editor6.jpg


4.7. Save your text file and close the Compare editor.