How to get all the packages in a project

Hi,
I want to get all the packages in a project, how can i do it. Also how to get the class from editor.

Please sign in to leave a comment.