public void init(String wizardId, String packName, String typeName) {
   wizard = (NewBatchArtifactWizard) WorkbenchUtils.findWizardByDefId(wizardId);
   wizard.init(BatchUIPlugin.getDefault().getWorkbench(), new StructuredSelection(jp));
   wizard.setOpenEditorAfterFinish(false);
   open();
   page = (NewTypeWizardPage) dialog.getSelectedPage();
   setTypeName(packName, typeName);
 }
 public void init(String wizardId) {
   wizard = (NewJobXMLCreationWizard) WorkbenchUtils.findWizardByDefId(wizardId);
   wizard.init(BatchUIPlugin.getDefault().getWorkbench(), new StructuredSelection(jp));
   wizard.setOpenEditorAfterFinish(false);
   open();
 }