[JFace] WizardDialog should call perform cancel on outer wizards in the nested chain [message #335273] |
Mon, 30 March 2009 11:44 |
Sebastian Paul![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=sebastian.paul.ext%40siemens.com) Messages: 106 Registered: July 2009 |
Senior Member |
|
|
Hi,
I just noticed that WizardDialog does not call perform cancel on outer
wizards in the nested chain as it does with performFinish
(org.eclipse.jface.wizard.WizardDialog.finishPressed()). Is this
intentional? Any idea how outer wizards can execute their cancel actions?
Obviously the current implementation does not support deep nested
wizards, each implementing a separate concern.
WizardDialog.finishPressed() only checks the return value of the current
wizard. I can imagine use cases where this closes the dialog, even when
there's an outer wizard whose performFinish returned false. Is there
anyone who faced the problem and found a solution?
Kind regards, Sebastian
|
|
|
Powered by
FUDForum. Page generated in 0.03017 seconds