public void showWarning(String msg) {
   MainFrame.getInstance().showWarning(msg);
 }
 public float requireValueInput(Node node) {
   return MainFrame.getInstance().consultNode(node);
 }