NewTypeWizardPage page = getNewTypeWizardPage(wizard);
if(page == null) return;
setUpSourceFolderWizard(page,targetType);
setUpNewClassCreationWizard(page,pairNames);
if (page instanceof NewTestCaseWizardPageOne) {
NewTestCaseWizardPageOne testCasePage = (NewTestCaseWizardPageOne) page;
boolean isJUnit4 = testCasePage.isJUnit4();
if(isJUnit4){
testCasePage.setSuperClass("java.lang.Object", true);
}
}
HelpSupport.setHelp(dialog.getShell(), NEW_WIZARD_SHORTCUT);
dialog.open();
}