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

猜你喜欢

转载自www.cnblogs.com/luojiabao/p/11087778.html
F7
今日推荐