runAsyncInDisplayThread(new Runnable() {
public void run() {
NewElementWizard newXtendAnnotationWizard = newXtendAnnotationWizardProvider.get();
WizardDialog dialog = createWizardDialog(newXtendAnnotationWizard);
NewXtendAnnotationWizardPage page = (NewXtendAnnotationWizardPage) newXtendAnnotationWizard.getStartingPage();
<BUG>configureWizardPage(page, resource.getURI(), typeName);
</BUG>
dialog.open();
}
});

runAsyncInDisplayThread(new Runnable() {
public void run() {
NewElementWizard newXtendAnnotationWizard = newXtendAnnotationWizardProvider.get();
WizardDialog dialog = createWizardDialog(newXtendAnnotationWizard);
NewXtendAnnotationWizardPage page = (NewXtendAnnotationWizardPage) newXtendAnnotationWizard.getStartingPage();
configureWizardPage(page, resource.getURI(), typeName, explicitPackage);
dialog.open();
}
});
