开发者

How to hook into Workspace-startup process in Eclipse?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜