Question

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.

Was it helpful?

Solution

try looking here

there is an example concerning views but I thik that it can be adapter to your needs

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top