Skip to main content



      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 00:22
Eclipse UserFriend
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: Thu May 01 06:49:49 EDT 2025

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

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

Back to the top