问题
Can someone tell me in detail how to implement the project explorer view in my RCP?
回答1:
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.
回答2:
Unfortunately I am not able to comment on others, yet. Instead of searching source files, please open the Project Explorer View in your IDE and use Alt+Shift+F1 (for Buttons or menu entries it's Alt+Shift+F2) to save some effort.
回答3:
Well I think this tutorial can help you:
http://dirksmetric.wordpress.com/2012/08/01/tutorial-eclipse-rcp-e4-with-3-x-views-like-project-explorer-properties-etc/
来源:https://stackoverflow.com/questions/11346006/how-to-add-the-project-explorer-view-to-an-eclipse-rcp-application