1 28 29 package test; 30 31 import org.objectweb.util.explorer.api.Info; 32 import org.objectweb.util.explorer.api.TreeView; 33 34 42 public class CalculateInfo 43 implements Info 44 { 45 46 52 58 64 70 73 public String getInfo(TreeView treeView) { 74 Calculate calculate = (Calculate)treeView.getSelectedObject(); 75 return "Status: " + (calculate.getValue() ? "OFF" : "ON"); 76 } 77 78 } 79 80 | Popular Tags |