super(parentShell, newWizard);
addPageChangedListener(createPageChangedListener());
}
private IPageChangedListener createPageChangedListener() {
return new IPageChangedListener() {
@Override
public void pageChanged(PageChangedEvent event) {
Object page = event.getSelectedPage();
if (page instanceof IIdentityWizardPage) {
((IIdentityWizardPage)page).pageSelected();