Reputation: 33
In my RCP application, I am able to open an editor in Eclipse 4.2 (Juno), but I would like it to open in a separate window by default (that is, to be detached). I don't want to be forced to manually drag and drop it outside the main workbench window.
I wander around classes like IEditorPart, WorkbenchWindow, WorkbenchPage, IViewSite etc. but no luck so far.
Actually, it would be great to be able to embed editor into some dialog window from org.eclipse.jface.dialogs. But I don't think it's possible, as windows (as much as views) and Editors don't go well together.
Upvotes: 2
Views: 1275