Is it possible to drag window/view out of workbench in an e4 application written in pure JavaFX?

155 views Asked by At

I have an e4 application written in pure JavaFX, which you can see from my screenshot below. enter image description here

I have two tabs, Test and ButtonView, I can drag and drop any of them in the main application window. However I find that I can't drag any of them out of the main window (or should it be called workbench in Eclipse application). So I'm wondering is there a way to make dragging window/view out of the main application window/workbench possible if I'm using pure JavaFX developing an e4 application?

2

There are 2 answers

0
Loic Mouchard On

You want to "detach" your view. I hope the following article helps you.

0
kenshinji On

I've found a workaround from e(fx)clipse forum here. It is not supported in current release of e(fx)clipse (v2.4.0). We can achieve this by appending -Ddetachdrag.enabled=true to the VM parameter if we use the the latest nightly from head though.