I have to recover a deleted Eclipse blackberry project.
解决方案
If you deleted the project with "delete from disk" checked then Eclipse will have deleted the project files. You might get lucky ...
Check your file system backups. If the backups are recent, the missing files may be there.
If you are using a version control repository, check to see if you can recover from the most recent commit.
If you have a (platform specific) deleted file recovery tool you may be able to recover some of the deleted files that way.
If you didn't check "delete from disk", you should be able to recover by re-importing the project using "Import > General > Existing Project into Workspace". (Use Browse to select the directory containing project and it should show up in the Projects: list.)
To anyone who finds themselves in this unfortunate situation, the lessons are:
Use version control, and make sure that you check in your code regularly.
Choose a VCS that allows you to take snapshots of "not working at the moment" code.
Regular file system backups are a good idea, including file system backups of the disc holding your version control repository. (Ideally the backup media should be kept in another building. Fires happen.)
Disk recovery software can't be relied on to get all of your files back. (See other Answers.)
And, most importantly:
Be careful when you delete stuff. Think before you click.