Search code examples
javaeclipseprojectrcpexplorer

How to add the Project Explorer view to an Eclipse RCP application


Can someone tell me in detail how to implement the project explorer view in my RCP?


Solution

  • Use this great tutorial to show any view in your perspective. The rest it to find out the id of Project Explorer View. You will need to add a dependency to the plugin containing Project Explorer View and probably some user plugins required subsequently. Check dependencies with plugin dependencies page. To find out the id of the view you can search in jar files in the plugin directory of Eclipse Distribution for occurrences of "Project Explorer View". This way you can find plugin containing extension you are looking for.