Update scripts and plugins to 2.0

This commit is contained in:
2025-08-04 12:38:24 +02:00
parent b45d3b4202
commit b631d4c589
44 changed files with 347 additions and 350 deletions

View File

@@ -8,12 +8,13 @@ import java.nio.file.Paths;
import java.util.HashMap;
import java.util.logging.Level;
import javax.swing.JLabel;
import ch.psi.utils.State;
import ch.psi.utils.swing.Editor.EditorDialog;
import ch.psi.pshell.utils.State;
import ch.psi.pshell.swing.Editor.EditorDialog;
import ch.psi.pshell.plot.LinePlotBase;
import ch.psi.pshell.plot.LinePlotSeries;
import ch.psi.pshell.plot.Plot;
import ch.psi.pshell.ui.Panel;
import ch.psi.pshell.framework.Panel;
import ch.psi.pshell.framework.Setup;
import java.util.logging.Logger;
/**
@@ -54,7 +55,7 @@ public class EnergyScanBase extends Panel {
}
Path getConfigFile() {
return Paths.get(getContext().getSetup().getConfigPath(), "energy_scan.properties");
return Paths.get(Setup.getConfigPath(), "energy_scan.properties");
}
LinePlotBase scanPlot;