문제

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.

도움이 되었습니까?

해결책

try looking here

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top