@Override public void onMenu(ContextMenuEvent evt) { if (WEditorPopupMenu.CHANGE_LOG_EVENT.equals(evt.getContextEvent())) { WFieldRecordInfo.start(gridField); } else if (WEditorPopupMenu.PREFERENCE_EVENT.equals(evt.getContextEvent())) { if (isShowPreference()) ValuePreference.start(getComponent(), this.getGridField(), getValue()); } }
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); } }