Search in sources :

Example 1 with ModelTypesDescriptor

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;
}
Also used : ModelTypesDescriptor(cbit.vcell.microscopy.batchrun.gui.chooseModelWizard.ModelTypesDescriptor) WizardPanelDescriptor(org.vcell.wizard.WizardPanelDescriptor) Wizard(org.vcell.wizard.Wizard)

Aggregations

ModelTypesDescriptor (cbit.vcell.microscopy.batchrun.gui.chooseModelWizard.ModelTypesDescriptor)1 Wizard (org.vcell.wizard.Wizard)1 WizardPanelDescriptor (org.vcell.wizard.WizardPanelDescriptor)1