Reputation: 837
I am working with a wizard dialog.
It should be possible for the user to click to background and be able to interact with it (in my case that's the eclipse editor since I am writing a Plug-In).
However, the background is always locked, not focusable. Is there a way to disable this property and access the background without closing the wizard dialog entirely? After having done some stuff in the editor it should be possible to return to the wizard and finish the task.
Upvotes: 0
Views: 804
Reputation: 111142
You can make the dialog 'modeless' so that it does not block the application (like the Find/Replace dialog in Eclipse).
Call
setShellStyle(getShellStyle() ^ SWT.APPLICATION_MODAL | SWT.MODELESS);
setBlockOnOpen(false);
in the constructor for the Dialog
to do this.
Upvotes: 4