Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 384322

Summary: Unable to get all notifications for PageChangingEvents in the Export Wizard
Product: [Eclipse Project] Platform Reporter: Vanessa <vanessa_mcd>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: contact
Version: 4.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Vanessa CLA 2012-07-05 01:48:51 EDT
Build Identifier: 

Hi,

I am contributing a custom wizard to Export Wizard in eclipse and am interested in listening to all PageChangingEvents to check if a change from the export wizard page to the first page in my wizard should occur based on login validations to the repository. I am currently adding the PageChangingListener in the setContainer() method of my wizard as below, however i do not get notified for the first page change that occurs, this is because the pagechangingevent is fired and then the container is for the wizard. 

public void setContainer(IWizardContainer wizardContainer) {
    super.setContainer(wizardContainer);
    if (getContainer() instanceof WizardDialog){
	WizardDialog container = (WizardDialog) (getContainer());
	container.addPageChangingListener(getDetailsPage());
     }
}

It is possible to ensure that the container for the wizard is set earlier so that i can add the listeners to the WizardDialog and get notified for all page changing events? 







Reproducible: Always
Comment 1 Lars Vogel CLA 2019-11-27 07:36:52 EST
This bug hasn't had any activity in quite some time. Maybe the problem got
resolved, was a duplicate of something else, or became less pressing for some
reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it.
The information can be, for example, that the problem still occurs, that you
still want the feature, that more information is needed, or that the bug is
(for whatever reason) no longer relevant.

If the bug is still relevant, please remove the stalebug whiteboard tag.