コード例 #1
0
 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);
 }
コード例 #2
0
 public void init(String wizardId) {
   wizard = (NewJobXMLCreationWizard) WorkbenchUtils.findWizardByDefId(wizardId);
   wizard.init(BatchUIPlugin.getDefault().getWorkbench(), new StructuredSelection(jp));
   wizard.setOpenEditorAfterFinish(false);
   open();
 }