Update scripts and plugins to 2.0
This commit is contained in:
@@ -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 OTFScanBase extends Panel {
|
||||
}
|
||||
|
||||
Path getConfigFile() {
|
||||
return Paths.get(getContext().getSetup().getConfigPath(), "energy_scan.properties");
|
||||
return Paths.get(Setup.getConfigPath(), "energy_scan.properties");
|
||||
}
|
||||
|
||||
LinePlotBase scanPlot;
|
||||
|
||||
Reference in New Issue
Block a user