eas of the new window

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;
}

Guess you like

Origin www.cnblogs.com/luojiabao/p/10963888.html
EAS