When developing an Eclipse plug-in, is there a way to hook into the workspace (not workbench) star开发者_运维百科tup- or initialization process? I'd like my plug-in to be notified when all the projects belonging to the workspace are known. The project-lifecycle and resource listeners only provide callbacks for modification, creation or deletion of projects. What I need is a kind of an inverse WorkspaceSaveParticipant-mechanism.
Note that this is within the context of IDE-plugins, not RCP-applications, so some of the solutions that might apply to an RCP-application are out of scope for me (I don't know whether plain RCP-apps have projects at all).
Thanks!
Look at org.eclipse.ui.startup extension point.
精彩评论