Need to restore local changes overwritten by p4 revert
Another thing you can try in the future is to get in the habit (by defining a local alias for example) by always using 'p4 revert -a'. It would be nice if "p4 revert -a" was the default and you had to pass a special flag to indicate that you want to revert the file you modified locally, but that's not the case now, unfortunately.
a source to share
I faced the same problem too. my workspace was misspelled and I lost all changes to some of my local files. I found that eclipse's UI resource history shows as empty for files, but the history file eclipse generated still exists at * $ eclipse -workspace.metadata.plugins \ org.eclipse.core.resources.history *. Use any text editor like notepad ++ to search all folders for your file name and you can easily recover the file from there. I just did the same to recover my files.
a source to share