如何在Eclipse 4 RCP中将Part插入另一个插件的PartStack?

时间:2022-10-20 22:54:17

I'd like to practice Eclipse 4 RCP application development, and my current goal is a graph modeling application. As far as I know GEF (Graphical Editing Framework) is the most reliable graphical framework, but it is Eclipse 3.x only. So I decided to create a plug-in only for the editor but I don't know how to insert the graphical editor's Part into the main plug-in's Application Model. What's more, how two plug-ins can communicate with each other?

我想练习Eclipse 4 RCP应用程序开发,我目前的目标是图形建模应用程序。据我所知,GEF(图形编辑框架)是最可靠的图形框架,但它只是Eclipse 3.x.所以我决定只为编辑器创建一个插件,但我不知道如何将图形编辑器的Part插入到主插件的应用程序模型中。更重要的是,两个插件如何相互通信?

1 个解决方案

#1


0  

Plugins communicate through extension points, there are certain extension points defined by plugins to allow extending existing functionality. So I would suggest you reading about those things. Then find out if which extension points does plugin you are interested in offers and extend it. You may find extension points definitions in plugin.xml or in the documentation.

插件通过扩展点进行通信,插件定义了某些扩展点以允许扩展现有功能。所以我建议你阅读这些内容。然后找出你感兴趣的插件是哪个扩展点并扩展它。您可以在plugin.xml或文档中找到扩展点定义。

#1


0  

Plugins communicate through extension points, there are certain extension points defined by plugins to allow extending existing functionality. So I would suggest you reading about those things. Then find out if which extension points does plugin you are interested in offers and extend it. You may find extension points definitions in plugin.xml or in the documentation.

插件通过扩展点进行通信,插件定义了某些扩展点以允许扩展现有功能。所以我建议你阅读这些内容。然后找出你感兴趣的插件是哪个扩展点并扩展它。您可以在plugin.xml或文档中找到扩展点定义。