开发者

How to hook into Workspace-startup process in Eclipse?

开发者 https://www.devze.com 2023-01-19 23:51 出处:网络
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 projec

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消