This commit is contained in:
gac-x11ma
2025-10-24 14:58:53 +02:00
parent c406748817
commit fb9b13eead
27 changed files with 323 additions and 58 deletions

View File

@@ -16,6 +16,7 @@ import ch.psi.pshell.utils.Serializer;
import ch.psi.pshell.utils.State;
import ch.psi.pshell.swing.SwingUtils;
import ch.psi.pshell.utils.State.StateException;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
@@ -370,7 +371,7 @@ public class DataAcquisition extends Panel {
rendererRoi.abortSelection();
}
void run2Images() throws Sequencer.StateException {
void run2Images() throws StateException {
HashMap args = new HashMap();
args.put("METHOD", comboImgMethod.getSelectedItem());
@@ -417,7 +418,7 @@ public class DataAcquisition extends Panel {
return ranges;
}
void runAbsSpectrum() throws Sequencer.StateException {
void runAbsSpectrum() throws StateException {
HashMap args = new HashMap();
args.put("SAVE_SPECTRUM", checkSpecSaveSpectrum.isSelected());
args.put("SAVE_IMAGES", checkSpecSaveImages.isSelected());
@@ -454,7 +455,7 @@ public class DataAcquisition extends Panel {
}
}
void enableNorm(boolean enabled) throws Sequencer.StateException {
void enableNorm(boolean enabled) throws StateException {
if (!enabled) {
removeNorm();
} else {