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

@@ -1,5 +1,6 @@
import ch.psi.pshell.ui.Panel;
import ch.psi.pshell.framework.Context;
import ch.psi.pshell.framework.Panel;
import javax.swing.JButton;
/*
@@ -65,7 +66,7 @@ public class Initialization extends Panel {
if (ex != null) {
showException((Exception) ex);
} else {
getContext().scriptingLog(String.format("Shell command '%s' return value: %s", shellCommand, String.valueOf(ret)));
Context.getInterpreter().scriptingLog(String.format("Shell command '%s' return value: %s", shellCommand, String.valueOf(ret)));
}
return ret;
});