Search in sources :

Example 1 with DefineROI_RoiForErrorDescriptor

use of cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_RoiForErrorDescriptor in project vcell by virtualcell.

the class FRAPStudyPanel method getDefineROIWizard.

public Wizard getDefineROIWizard() {
    if (defineROIWizard == null) {
        // use one panel for all the steps.
        imgPanel = new DefineROI_Panel();
        imgPanel.setFrapWorkspace(getFrapWorkspace());
        defineROIWizard = new Wizard(JOptionPane.getFrameForComponent(this));
        defineROIWizard.getDialog().setTitle("Define ROIs");
        DefineROI_CropDescriptor cropDescriptor = new DefineROI_CropDescriptor(imgPanel);
        defineROIWizard.registerWizardPanel(DefineROI_CropDescriptor.IDENTIFIER, cropDescriptor);
        DefineROI_CellROIDescriptor cellROIDescriptor = new DefineROI_CellROIDescriptor(imgPanel);
        defineROIWizard.registerWizardPanel(DefineROI_CellROIDescriptor.IDENTIFIER, cellROIDescriptor);
        DefineROI_BleachedROIDescriptor bleachedROIDescriptor = new DefineROI_BleachedROIDescriptor(imgPanel);
        defineROIWizard.registerWizardPanel(DefineROI_BleachedROIDescriptor.IDENTIFIER, bleachedROIDescriptor);
        DefineROI_BackgroundROIDescriptor backgroundROIDescriptor = new DefineROI_BackgroundROIDescriptor(imgPanel);
        defineROIWizard.registerWizardPanel(DefineROI_BackgroundROIDescriptor.IDENTIFIER, backgroundROIDescriptor);
        DefineROI_SummaryDescriptor ROISummaryDescriptor = new DefineROI_SummaryDescriptor(imgPanel);
        defineROIWizard.registerWizardPanel(DefineROI_SummaryDescriptor.IDENTIFIER, ROISummaryDescriptor);
        ROISummaryDescriptor.setFrapWorkspace(getFrapWorkspace());
        DefineROI_RoiForErrorDescriptor roiForErrorDescriptor = new DefineROI_RoiForErrorDescriptor();
        defineROIWizard.registerWizardPanel(DefineROI_RoiForErrorDescriptor.IDENTIFIER, roiForErrorDescriptor);
        (roiForErrorDescriptor).setFrapWorkspace(getFrapWorkspace());
    }
    // always start from the first page
    defineROIWizard.setCurrentPanel(DefineROI_CropDescriptor.IDENTIFIER);
    imgPanel.refreshUI();
    return defineROIWizard;
}
Also used : DefineROI_CropDescriptor(cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_CropDescriptor) DefineROI_CellROIDescriptor(cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_CellROIDescriptor) DefineROI_BleachedROIDescriptor(cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_BleachedROIDescriptor) DefineROI_SummaryDescriptor(cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_SummaryDescriptor) Wizard(org.vcell.wizard.Wizard) DefineROI_Panel(cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_Panel) DefineROI_BackgroundROIDescriptor(cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_BackgroundROIDescriptor) DefineROI_RoiForErrorDescriptor(cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_RoiForErrorDescriptor)

Aggregations

DefineROI_BackgroundROIDescriptor (cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_BackgroundROIDescriptor)1 DefineROI_BleachedROIDescriptor (cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_BleachedROIDescriptor)1 DefineROI_CellROIDescriptor (cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_CellROIDescriptor)1 DefineROI_CropDescriptor (cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_CropDescriptor)1 DefineROI_Panel (cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_Panel)1 DefineROI_RoiForErrorDescriptor (cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_RoiForErrorDescriptor)1 DefineROI_SummaryDescriptor (cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_SummaryDescriptor)1 Wizard (org.vcell.wizard.Wizard)1