Well, this happened to me, file was not in a version control either and I was desperate to recover it. Luckily there's a feature in eclipse to restore files from the context menu ("Restore from Local History...") of the relevant component (src folder, package folder etc...) where you deleted it from.
You can even get any other previously saved version of it from the dialog as shown below...
This is a great feature !
ReplyDeleteI do not require it yet, but it is a good thing to know, for may be, it will help me in future.. :)