I'm fighting with this all the morning and can't see any entry point.
In my plugin I'm extending XMLMultiPageEditorPart and providing some visual preview to them. I would like also to show this xml document in another view (from another point of view also). These two "items" (editor and view) should work on the same model (I assume it would be IDOMModel/IDOMDocument). But...
How to get DOM model from mentioned editor? I've got access to StructuredTextEditor, but can't see how to get to xml tree.
Don't forget to call #releaseFromEdit() on the model when you're done.
You might also consider decoupling the view from the editor--the
selection sent across the workbench's selection service should contain
DOM Nodes, from which you can access the DOM Document and model if needed.