首页 > 其他 > 详细

eas之新建窗口

时间:2019-06-02 19:25:42      阅读:148      评论:0      收藏:0      [点我收藏+]

public void actionObjectProp_actionPerformed(ActionEvent e)
          throws Exception {
     UIContext uiContext = new UIContext(this);
     uiContext.put("Owner", this);
     showDialog(BizObjPropForRoleUI.class.getName(), uiContext,
               OprtState.VIEW);
}
private IUIWindow showDialog(String strUI, Map map, String status)
          throws Exception {
     map.put("Owner", this);
     IUIFactory uiFactory = null;
     try {
          uiFactory = UIFactory
                     .createUIFactory("com.kingdee.eas.base.uiframe.client.UIModelDialogFactory");
          IUIWindow curDialog = uiFactory.create(strUI, map, null, status);
          curDialog.show();
          return curDialog;
     } catch (UIException ex1) {
          logger.error(ex1);
     }
     return null;
}

eas之新建窗口

原文:https://www.cnblogs.com/luojiabao/p/10963888.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!