1

我正在将一个插件移植到 Eclipse 4.2 (Juno),但我无法找到org.eclipse.ui.ide.ResourceUtil的替代品。它已从 org.eclipse.ui.ide 中删除。

我需要的相应方法是static IEditorPart findEditor(IWorkbenchPage page, IFile file)

朱诺的 findEditor 有什么替代品吗?

我应该只编写一个函数来搜索 WorkBench 编辑器参考吗?

4

1 回答 1

2

课还在。它是 API 的一部分。

http://www.eclipse.org/forums/index.php/mv/msg/487235/1057997/#msg_1057997

于 2013-05-10T18:22:54.043 回答