in my application I have some shell opened. The pages are all instances
of ApplicationWindow. Under some circumstance I need reparenting a
shell. That's the case, i.e., when I close a shell that is parent of
another shell that remain opened.
When I try to call setParentShell, I obtainb this error:
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
There must not be an existing shell.
It might not be possible to re-parent a shell after it is created. I
think all widgets except shell (extending Decorations) can be
re-parented (due to platform behavior).
At this moment, I could not recollect any way of achieving the child
shell to exist even after it's parent shell is disposed. Raising an
enhancement request might help, if this is not possible with the
existing SWT APIs.