Community
Participate
Working Groups
Build I20020308 I am overriding method dispose of an IWizardPage and I need to know if the dispose was called due to a finish or cancel. Can appropriate API be provided ?
The WizardDialog (actually all windows) have a return code - but I understand your issue - you need to be able to check what the return code of the window was and we provide no API that will give you the window. We could add getReturnCode to IWizardContainer - but this would nbe a breaking change as IWizardContainer is public API. The is also the option of casting the result of getWizard().getContainer() to Window and asking that but that is not a clean option. If you can think of any API we could add that is not breaking I would be happy to include it.
The only idea I have is to add a new interface IWizardContainerExtension. This is what the reset of the platform does in this case.
This is what I think we will have to do as well. Is this required by you for 2.1?
No for 2.1 I check if the IWizardContainer is a Window. This may fail if I get a different implementation of IWizardContainer, but in the context we are using it right now this might not happen.
Moving to UI Inbox *** This bug has been marked as a duplicate of 20319 ***