for (IConfigurationElement wizardPage : wizardPages) {
if ((wizardPage.getAttribute("class") != null) && //$NON-NLS-1$
dialectFactory.getId().equals(wizardPage.getAttribute("dialect"))) { //$NON-NLS-1$
try {
IConfigurableObjectWizardPageFactory wizPageFactory = (IConfigurableObjectWizardPageFactory) wizardPage.createExecutableExtension("class"); //$NON-NLS-1$
IConfigurableObjectWizardPage page = wizPageFactory.newWizardPage();
page.setConfigurableObject(obj);
page.setWizard(this);
pages.add(page); //$NON-NLS-1$
} catch (CoreException e) {
// Log and show error
UIPlugin.logAndShowError(e, false);
}