use of cbit.vcell.microscopy.batchrun.gui.chooseModelWizard.ModelTypesDescriptor in project vcell by virtualcell.
the class VirtualFrapBatchRunFrame method getChooseModelTypeWizard.
public Wizard getChooseModelTypeWizard() {
if (modelTypeWizard == null) {
modelTypeWizard = new Wizard(JOptionPane.getFrameForComponent(this));
modelTypeWizard.getDialog().setTitle("Choose Model Type");
WizardPanelDescriptor modelTypesDescriptor = new ModelTypesDescriptor();
modelTypeWizard.registerWizardPanel(ModelTypesDescriptor.IDENTIFIER, modelTypesDescriptor);
((ModelTypesDescriptor) modelTypesDescriptor).setBatchRunWorkspace(batchRunWorkspace);
}
// always start from the first page
modelTypeWizard.setCurrentPanel(ModelTypesDescriptor.IDENTIFIER);
return modelTypeWizard;
}
Aggregations