Search in sources :

Example 16 with ColumnFilter

use of org.netxms.client.log.ColumnFilter in project netxms by netxms.

the class UserConditionEditor method createFilter.

/* (non-Javadoc)
	 * @see org.netxms.ui.eclipse.logviewer.widgets.ConditionEditor#createFilter()
	 */
@Override
public ColumnFilter createFilter() {
    ColumnFilter filter = new ColumnFilter(ColumnFilterType.EQUALS, userId);
    filter.setNegated(getSelectedOperation() == 1);
    return filter;
}
Also used : ColumnFilter(org.netxms.client.log.ColumnFilter)

Aggregations

ColumnFilter (org.netxms.client.log.ColumnFilter)16 LogFilter (org.netxms.client.log.LogFilter)4 OrderingColumn (org.netxms.client.log.OrderingColumn)4 ArrayList (java.util.ArrayList)3 ISelection (org.eclipse.jface.viewers.ISelection)3 IStructuredSelection (org.eclipse.jface.viewers.IStructuredSelection)3 IWorkbenchWindow (org.eclipse.ui.IWorkbenchWindow)3 PartInitException (org.eclipse.ui.PartInitException)3 AbstractNode (org.netxms.client.objects.AbstractNode)3 AbstractObject (org.netxms.client.objects.AbstractObject)3 LogViewer (org.netxms.ui.eclipse.logviewer.views.LogViewer)3 Calendar (java.util.Calendar)1