Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Showing deleted file from local history
Showing deleted file from local history [message #326166] Mon, 10 March 2008 09:16 Go to next message
Eclipse UserFriend
Originally posted by: chandra.mayamuthu.gmail.com

Hi All,
I need to show the deleted files from local history after deleting the
file physically in the file system.
I have RCP application, in which I will be doing the following,
----------------------------------
1. have some list of files in the project.
2. close the workbench
3. delete some of the files externally (in file system)
4. re-launch the application,
5. the deleted files should be restored from local history
----------------------------------

Please guide me to restore the deleted files programmatically from local
history.

Thanks,
Chandra M
Re: Showing deleted file from local history [message #326172 is a reply to message #326166] Mon, 10 March 2008 12:38 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Chandra,

From what I understand about this, only by using the Resource APIs to
modify (delete/write) a resource are the old contents backed up in the
local history. If you delete underlying resource directly from the file
system I don't think there will be a backup copy of it anywhere.


Chandra wrote:
> Hi All,
> I need to show the deleted files from local history after deleting
> the file physically in the file system. I have RCP application, in
> which I will be doing the following,
> ----------------------------------
> 1. have some list of files in the project.
> 2. close the workbench
> 3. delete some of the files externally (in file system)
> 4. re-launch the application,
> 5. the deleted files should be restored from local history
> ----------------------------------
>
> Please guide me to restore the deleted files programmatically from
> local history.
>
> Thanks,
> Chandra M
>
Previous Topic:Highlighting related terms in a text editor
Next Topic:how to create a master details block in an editor
Goto Forum:
  


Current Time: Thu Nov 07 06:00:07 GMT 2024

Powered by FUDForum. Page generated in 0.04864 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top