Search in sources :

Example 6 with QMEventFilter

use of org.jkiss.dbeaver.model.qm.QMEventFilter in project dbeaver by serge-rider.

the class TransactionInfoDialog method updateTransactionFilter.

protected void updateTransactionFilter() {
    DBCExecutionContext context = getCurrentContext();
    QMEventFilter filter = context == null ? VOID_FILTER : createContextFilter(context);
    logViewer.setFilter(filter);
    logViewer.refresh();
}
Also used : DBCExecutionContext(org.jkiss.dbeaver.model.exec.DBCExecutionContext) QMEventFilter(org.jkiss.dbeaver.model.qm.QMEventFilter)

Aggregations

DBCExecutionContext (org.jkiss.dbeaver.model.exec.DBCExecutionContext)6 QMEventFilter (org.jkiss.dbeaver.model.qm.QMEventFilter)6 SelectionAdapter (org.eclipse.swt.events.SelectionAdapter)4 SelectionEvent (org.eclipse.swt.events.SelectionEvent)4 GridData (org.eclipse.swt.layout.GridData)4 QMMObject (org.jkiss.dbeaver.model.qm.meta.QMMObject)4 QueryLogViewer (org.jkiss.dbeaver.ui.controls.querylog.QueryLogViewer)4 IDialogConstants (org.eclipse.jface.dialogs.IDialogConstants)2 Button (org.eclipse.swt.widgets.Button)2 Composite (org.eclipse.swt.widgets.Composite)2 Shell (org.eclipse.swt.widgets.Shell)2 IWorkbenchPart (org.eclipse.ui.IWorkbenchPart)2 CoreMessages (org.jkiss.dbeaver.core.CoreMessages)2 DBCExecutionPurpose (org.jkiss.dbeaver.model.exec.DBCExecutionPurpose)2 QMUtils (org.jkiss.dbeaver.model.qm.QMUtils)2 QMMSessionInfo (org.jkiss.dbeaver.model.qm.meta.QMMSessionInfo)2 QMMStatementExecuteInfo (org.jkiss.dbeaver.model.qm.meta.QMMStatementExecuteInfo)2 QMMTransactionSavepointInfo (org.jkiss.dbeaver.model.qm.meta.QMMTransactionSavepointInfo)2 UIUtils (org.jkiss.dbeaver.ui.UIUtils)2 AbstractPopupPanel (org.jkiss.dbeaver.ui.dialogs.AbstractPopupPanel)2