| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <html lang="en"> |
| <HEAD> |
| |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2011. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| |
| <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>Restoring deleted resources from local history</title> |
| <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script> |
| </HEAD> |
| |
| <BODY BGCOLOR="#ffffff"> |
| <H1>Restoring deleted resources from local history</H1> |
| |
| <p>To restore a deleted Workbench resource with a state from the local history: |
| </p> |
| |
| <ol> |
| <li>In one of the navigation views, select the folder or project into which you want to restore |
| a local history state.</li> |
| <li>From the resource's pop-up menu, select <b>Restore from Local History...</b>. |
| The Restore From Local History dialog opens showing all files that were previously contained |
| in the selected folder or project and all of their sub-folders.</li> |
| <li>Check the files that you want to restore</li> |
| <li>If you don't want to restore just the last state of a file you can |
| select any other state of the file from the <b>Local History</b> list on the right hand side |
| of the dialog. The bottom pane of the dialog shows the contents of the state.</li> |
| <li>If you are done with all files click <b>Restore</b>.</li> |
| </ol> |
| |
| <P><em>Tip</em>: You can configure your Workbench preferences to specify how many |
| days to keep files, or how many entries per file you want to keep, or the maximum |
| file size for files to be kept with the |
| <a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.ui.preferencePages.FileStates)")'> |
| <img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="command link"> |
| <b>General > Workspace > Local History</b></a> preference page. |
| </P> |
| |
| <p><img border="0" src="../images/ngrelc.png" alt="Related concepts" ><br> |
| <a href="../concepts/concepts-17a.htm">Local history</a><br> |
| <a href="../concepts/concepts-12.htm">Resources</a> |
| </p> |
| |
| <p><img border="0" src="../images/ngrelt.png" alt="Related tasks" ><br> |
| <a href="tasks-70.htm">Comparing resources with the local history</a><br> |
| <a href="tasks-87.htm">Replacing resources with the local history</a><br> |
| <a href="tasks-88.htm">Setting local history preferences</a> |
| </p> |
| |
| |
| |
| </BODY> |
| </HTML> |