Open file with other editor with toolbar button - RCP
问题 I have an rcp application with two editors (extending the Editorpart) in two different plugins, and i want create a toolbar-button to switch betwen editor/plugins with same file. Is that possible? regards Alex 回答1: Of course, just get the active workbench page and call IWorkbenchPage.openEditor(input, editorId) . 来源: https://stackoverflow.com/questions/12846147/open-file-with-other-editor-with-toolbar-button-rcp