public void onMenu(ContextMenuEvent evt) {
   if (WEditorPopupMenu.REQUERY_EVENT.equals(evt.getContextEvent())) {
     actionRefresh();
   } else if (WEditorPopupMenu.ZOOM_EVENT.equals(evt.getContextEvent())) {
     actionZoom();
   } else if (WEditorPopupMenu.CHANGE_LOG_EVENT.equals(evt.getContextEvent())) {
     WRecordInfo.start(gridField);
   }
 }
示例#2
0
 public void onMenu(ContextMenuEvent evt) {
   if (WEditorPopupMenu.REQUERY_EVENT.equals(evt.getContextEvent())) {
     actionRefresh();
   } else if (WEditorPopupMenu.ZOOM_EVENT.equals(evt.getContextEvent())) {
     actionZoom();
   } else if (WEditorPopupMenu.PREFERENCE_EVENT.equals(evt.getContextEvent())) {
     if (MRole.getDefault().isShowPreference())
       ValuePreference.start(this.getGridField(), getValue());
     return;
   } else if (WEditorPopupMenu.CHANGE_LOG_EVENT.equals(evt.getContextEvent())) {
     WFieldRecordInfo.start(mField);
   }
 }