public ButtonVO getButtonVO() {
    ButtonVO bvo = new ButtonVO();
    bvo.setBtnNo(IFBMButton.Discount_Calculate);
    bvo.setBtnChinaName("лЫожйткЦ");
    bvo.setBtnCode("DISCOUNT");
    bvo.setBtnName(
        nc.ui.ml.NCLangRes.getInstance()
            .getStrByID("fbmcomm", "UPPFBMComm-000012") /* @res"лЫожйткЦ"*/);
    bvo.setHintStr(
        nc.ui.ml.NCLangRes.getInstance()
            .getStrByID("fbmcomm", "UPPFBMComm-000012") /* @res"лЫожйткЦ"*/);
    bvo.setHotKey("D");
    bvo.setDisplayHotKey("(Shift+D)");
    bvo.setModifiers(Event.SHIFT_MASK);
    //        bvo.setOperateStatus(new int[]{IBillOperate.OP_NOTEDIT,IBillOperate.OP_INIT});
    //        bvo.setBusinessStatus(new int[]{IFBMStatus.Transact});

    return bvo;
  }
示例#2
0
  public ButtonVO getButtonVO() {
    ButtonVO btnVo = new ButtonVO();
    btnVo.setBtnChinaName("全消");
    btnVo.setBtnName(
        nc.ui.ml.NCLangRes.getInstance().getStrByID("36201005", "UPP36201005-000030") /*
																									 * @res
																									 * "全消"
																									 */);
    btnVo.setHintStr(
        nc.ui.ml.NCLangRes.getInstance().getStrByID("36201005", "UPP36201005-000030") /*
																									 * @res
																									 * "全消"
																									 */);
    btnVo.setBtnCode("CANCELSELECT");
    btnVo.setBtnNo(IFBMButton.FBM_CANCELSELECT);
    btnVo.setOperateStatus(new int[] {IBillOperate.OP_NOTEDIT});
    btnVo.setModifiers(Event.CTRL_MASK);
    btnVo.setHotKey("N");
    btnVo.setDisplayHotKey("(Ctrl+N)");
    return btnVo;
  }