| <!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=utf-8"> |
| <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> |
| <h3 class="related">Related concepts</h3><a href="../concepts/concepts-17a.htm">Local history</a><br> |
| <a href="../concepts/concepts-12.htm">Resources</a> |
| <h3 class="related">Related tasks</h3><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> |
| </body> |
| </html> |