/** * Called whenever the wizard page has changed and forces its container * to resize its content. * * @see org.eclipse.jface.dialogs.IPageChangedListener#pageChanged(org.eclipse.jface.dialogs.PageChangedEvent) */ public void pageChanged( PageChangedEvent event ) { if ( this.wizardPage == event.getSelectedPage( ) ) { // force size update IWizardContainer container = getContainer( ); if ( container instanceof IWizardContainer2 ) { ( (IWizardContainer2) container ).updateSize( ); } } }