[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] not to dispose parent shell on close of child shell

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.