Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » not to dispose parent shell on close of child shell
not to dispose parent shell on close of child shell [message #330249] Wed, 23 July 2008 04:22
trushna is currently offline trushnaFriend
Messages: 24
Registered: July 2009
Junior Member
Hi,

I am openeing dialog from a dialog. When i close child dialog, parent
also gets closed.
For opening child dialog, i tried creating shell by:

Shell shell = Display.getCurrent().getActiveShell();
ABC dlg = new ABC (shell, new XYZWizard(obj));

Shell shell = Display.getDefault().getActiveShell();
ABC dlg = new ABC (shell, new XYZWizard(obj));

Shell shell = new Shell();
ABC dlg = new ABC (shell, new XYZWizard(obj));

I dont want parent dialog to close on close of child dialog. Does
anyone know how to achieve this?

Thanks trushna.
Previous Topic:persistent property and open resource
Next Topic:customizing finish button on org.eclipse.jface.wizard.Wizard
Goto Forum:
  


Current Time: Sat Nov 09 05:13:36 GMT 2024

Powered by FUDForum. Page generated in 0.02776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top