| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| <title> |
| Comparing a Java element with a local history edition |
| </title> |
| </head> |
| <body> |
| <h1> |
| Comparing a Java element with a local history edition |
| </h1> |
| <ol> |
| <li> |
| Make sure that a Java view is visible. |
| </li> |
| <li> |
| Open a Java editor for the Java file in which you want to compare a Java element with an edition from the local history. |
| </li> |
| <li> |
| Activate the editor by clicking its tab in the editor area. The Java view also displays the Java file. |
| <em>Note: The Package Explorer can be configured to show or not show |
| Java elements in files. Use <strong>Window > Preferences > Java > Appearance > Show Members in Package Explorer</strong> |
| to set your preference.</em> |
| </li> |
| <li> |
| Select the element that you want to compare. |
| </li> |
| <li> |
| From the element's pop-up menu, select <strong>Compare With > Element from Local History</strong>. |
| </li> |
| <li> |
| In the upper pane of the resulting dialog, all available editions of the selected element in the local history are displayed. |
| </li> |
| <li> |
| Select an edition in the upper pane to view the differences between the selected edition and the edition in the workbench. |
| </li> |
| <li> |
| If you are done with the comparison, click OK to close the dialog. |
| </li> |
| </ol> |
| <p> |
| <img width="159" height="27" src="../images/ngrelc.gif" alt="Related concepts" border="0"> |
| </p> |
| <p> |
| <a href="../concepts/concepts-6.htm">Java views</a><br> |
| <a href="../concepts/concepts-7.htm">Java editor</a> |
| </p> |
| <p> |
| <img border="0" width="159" height="27" src="../images/ngrelt.gif" alt="Related tasks"> |
| </p> |
| <p> |
| <a href="tasks-62.htm">Using the local history</a> |
| </p> |
| <p> |
| <img border="0" width="159" height="27" src="../images/ngrelr.gif" alt="Related reference"> |
| </p> |
| <p> |
| <a href="../reference/ref-view-outline.htm">Outline view for Java</a> |
| </p> |
| <p> |
| <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" width="324" height="14"></a> |
| </p> |
| </body> |
| </html> |
| |