MessageDialog dialog=new MessageDialog(null,"Type "+storyLine.asClassName()+" not found",null,"Do you want to create it?",
MessageDialog.QUESTION,
new String[]{"Yes","Yes, using Minimock","No"},0);
int ret=dialog.open();
if ((ret==0)||(ret==1)){
NewClassWizard wizard=new NewClassWizard(storyLine,ret==1);
wizard.init(PlatformUI.getWorkbench(), null);
WizardDialog wd=new WizardDialog(shell,wizard);
wd.open();
}
}