how to restore project explorer in eclipse code example
Example: eclipse show file in project explorer
There is a button in the Package Explorer view
that looks like two yellow arrows pointed at left and right.
The tooltip is "Link with Editor". Click that.