From daf7208606775df3570d6a2045728a06458bcefd Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Fri, 5 Jun 2015 14:12:24 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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);