If you want the free yourself today from blocking wizards, you may start Eclipse with the following setting:
This will hint Eclipse Wizards to not block. Most current wizards will obey.
You can stick this setting in the eclipse.ini file or provide it as part of your Eclipse launcher shortcut after -vmargs.
New API to the Rescue
The technical term for a blocking UI is a "modal window" (wikipedia article). Sure, a dedicated programmer would override WizardDialog and do some hacking magic but there was never a formal way of making wizards not block the UI.
The following API methods are added to the JFace WizardDialog.
- public WizardDialog setModal(boolean modal)
- public boolean isModal()
In addition, the following methods have been made public to allow full control over the shell style of the WizardDialog.
- public void setShellStyle(int newShellStyle)
- public int getShellStyle()
You can now use the following code:
WizardDialog d = new WizardDialog(shell, wizard);
new WizardDialog(shell, wizard).setModal(false).open();