I am writing an Eclipse plugin that makes it easy to edit resources for Android. When the user clicks on any XML resource file inside the project, an editor opens that allows you to immediately edit all the resources in the project.
I would like to add the ability to open the same file in a separate default Android resource editor. I know the identifier of this editor, but I do not have access to its class.
Calling IDE.openEditor does nothing, because the editor is already open for this file, although I specify the identifier of another Android editor.
How to get Eclipse to open another editor for the same login?
On the other hand, is it possible to implement another editor in MultiPageEditorPart if I have access only to its id, and not to its class?
source share