protected void onGrdAuditSelectionChanged() throws PresentationLogicException
{
form.getContextMenus().hideAllRIEViewReasonMenuItems();
// Populate the text box with the differences that occurred in the last update
AuditVo audit =form.grdAudit().getValue();
if (audit.getDiffFieldsIsNotNull())
{
formatThis(audit.getDiffFields());
}
else
form.htmDifferences().setHTML("");
if (audit.getAction().equals("RIE"))
{
form.getContextMenus().getRIEViewReasonVIEW_REASONItem().setVisible(true);
form.getContextMenus().getRIEViewReasonVIEW_REASONItem().setEnabled(true);
}
if (!audit.getAction().equals("DELETE") && !audit.getAction().equals("RIE"))
{
form.getContextMenus().getRIEViewReasonEXPORT_TO_FILEItem().setVisible(true);
form.getContextMenus().getRIEViewReasonEXPORT_TO_FILEItem().setEnabled(true);
}
if (form.cmbAction().getValue() != null && form.cmbAction().getValue().equals("INSERT"))
{
form.getContextMenus().getRIEViewReasonEXPORT_ALLItem().setVisible(true);
form.getContextMenus().getRIEViewReasonEXPORT_ALLItem().setEnabled(true);
}
}
Logic.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:openMAXIMS
作者:
评论列表
文章目录