diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 4d3cee0..c09fc3a 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -73,6 +73,24 @@ public class TestingList extends Panel { buildTable(); } @SuppressWarnings("unchecked") + + + protected void onExecutedFile(String fileName) { + try { + switch(fileName){ + case "power-supply": + Object ret = eval("ret"); + if (ret != null) { + + showResult(ret.toString()); + } + break; + } + } + catch (Exception ex) { + + } + } public void showResult(String res){ txtOutput.setText(res);