public void doAction(String code) throws Exception
  {
    if (!"/".equals(getPrefix())) {
      if (code.startsWith("/")) {
        code = code.substring(1, code.length());
      }
      setText(code);
      return;
    }
    if ((!isAction()) || (!code.startsWith("/"))) {
      return;
    }
    code = code.toUpperCase();
    setText(code);
    code = code.substring(1, code.length());
    String className = (String)actionMap.get(code);
    if ((className == null) || ("".equals(className))) {
      return;
    }
    String[] ss = className.split(SPLIT);
    if (ss.length != 2) {
      return;
    }
    className = ss[1];
    String type = ss[0];
    if ("Mrp".equals(type)) {
      if (Shell.getInstance().getMainTreePane().getMainTree().getDataBox().getSelectionModel().lastElement() != null) {
        Shell.getInstance().getMainTreePane().getMainTree().getDataBox().getSelectionModel().lastElement().setSelected(false);
      }
      String mrp = GeneralUtil.getString("MainTreeHelper.MRP");
      Shell.getInstance().getMainTreePane().getMainTree().getDataBox().getElementByName(mrp).setSelected(true);
//    } else if ("Add".equalsIgnoreCase(type)) {
//      addQuickAction(className);
//    } else if ("Update".equalsIgnoreCase(type)) {
//      updateQuickAction(className);
//    } else if ("Code".equalsIgnoreCase(type)) {
//      QuickActionCodeAssistUI ui = QuickActionCodeAssistUI.getInstance();
//      ui.setVisible();
    } else {
      lookupQuickAction(className);
    }
  }