0

I am developing an RCP application similar to eclipse.

For eclipse in project navigator, if we delete a project (also the checkbox is marked for deleting the project content from the disk) and press Ctrl + Z, we can see the project is back again but with no content and in most of the case the nature of the project is also gone. I am not able to understand this phenomena. Why a project delete operation should be undoable when the content from the disk is also being deleted?

Chandrayya G K
  • 8,719
  • 5
  • 40
  • 68
Priyank Thakkar
  • 4,752
  • 19
  • 57
  • 93

2 Answers2

1

If you delete the project with the checkbox "Delete project contents on disk" your data is gone. You can not undo this operation.

If you do not select the checkbox Eclipse will be able to 'recover' all of your project.

enter image description here

Related questions:

Community
  • 1
  • 1
jens-na
  • 2,254
  • 1
  • 17
  • 22
  • Project delete operation is still undo-able even after marking option "Delete project contents on disk". It just brings the project back not the content in it. – Priyank Thakkar Feb 08 '13 at 09:27
0

try eclipse local history. You might able to recover some source files. Your best bet

Vinay Lodha
  • 2,185
  • 20
  • 29
  • Project delete operation is still undo-able even after marking option "Delete project contents on disk". It just brings the project back not the content in it. – Priyank Thakkar Feb 10 '13 at 13:23