eas之弹出指定的F7


KDComponentRomptDialog dlg=(KDCommonPromptDialog)selector;
if(dlg==null){
dlg=new KDCommonPromptDialog();
if(dlg.getQueryInfo()==null){
dlg.setQueryInfo(boxBizEle.getQueryAgent().getQueryInfo());
}
try{
dlg.setEntityViewInfo(new EntityViewInfo(boxBizEle.getQueryAgent().getRuntimeEntityView().toString()));
}catch(Exception e){
e.pringtStackTrace();
}
dlg.setSelectorCollection(boxBizEle.getQueryAgent().getSelelctorCollection())];
dlg.setQueryExecutor(boxBizEle.getQueryAgent().getQueryExecutor());
dlg.setEnableMultiSelection(boxBizEle.getQueryAgent.isEnableMultiSelection();
dlg.setReturnValueType(boxBizEle.getQueryAgent().getReturnValueType());
}
dlg.show();
if(dlg.isCanceled()){
boxBizEle.setValue((Object)dlg.getData()[0]);
ICell cell=pnlTables.getFocusCell();
if(cell!=null){
cell.setValue((BgContractInfo)((Object[])dlg.getData()[0]).getContractNum());
}
}

posted @ 2019-06-26 08:14  一条有梦想的海洋咸鱼  阅读(630)  评论(0编辑  收藏  举报