MultiSourceEditor和MultiPageEditorPart之间的区别

时间:2015-03-16 11:26:37

标签: eclipse plugins editor

我从Eclipse中找到了Plugin Manifest Editor的源代码,并注意到它使用另一个类作为模型。 MultiSourceEditor。

在我的编辑器中我使用的是MultiPageEditorPart。我需要在这里打开2个源文件。

基本上,它们之间有什么区别?也许我应该改用这个?

非常感谢。

1 个答案:

答案 0 :(得分:0)

org.eclipse.pde.internal.ui.editor.MultiSourceEditor是插件开发环境使用的内部编辑器。它扩展了FormEditor,它本身基于MultiPageEditorPart。编辑器只是PDE的专用多页编辑器。

您不得使用任何内部类,如有更改,恕不另行通知 - Eclipse API Rules of Engagement。当然,您可以查看源代码以了解其功能。