How to view hierarchical package structure in Eclipse package explorer
Solution 1:
Package Explorer / View Menu / Package Presentation... / Hierarchical
The "View Menu" can be opened with Ctrl + F10, or the small arrow-down icon in the top-right corner of the Package Explorer.
Solution 2:
Here is representation of screen eclipse to make hierarachical.