1. 程式人生 > >金蝶BOS 彈出介面

金蝶BOS 彈出介面

 Map map = new UIContext(this);
   //這裡可以用map傳引數
   map.put(UIContext.OWNER, this);
   String ErrorViewUIClass = "com.kingdee.eas.custom.kongzhizhongxinrenwuchuli.client.CheHaoFilterUI";
   try {
    uiWindow = (UIModelDialog) UIFactory.createUIFactory(UIFactoryName.MODEL).create(
      ErrorViewUIClass, map, null, OprtState.VIEW);
   } catch (UIException e) {
    e.printStackTrace();
   }
   CheHaoFilterUI evi = (CheHaoFilterUI) uiWindow.getUIObject();
   uiWindow.show();