use of cbit.vcell.microscopy.gui.defineROIwizard.DefineROI_SummaryDescriptor 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;
}
Aggregations