Search in sources :

Example 1 with ToggleFilterRowAction

use of org.eclipse.nebula.widgets.nattable.filterrow.action.ToggleFilterRowAction in project nebula.widgets.nattable by eclipse.

the class DefaultFilterRowConfiguration method configureUiBindings.

@Override
public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
    uiBindingRegistry.registerFirstSingleClickBinding(new FilterRowMouseEventMatcher(), new MouseEditAction());
    uiBindingRegistry.registerFirstSingleClickBinding(new ClearFilterIconMouseEventMatcher(this.cellPainter), new ClearFilterAction());
    uiBindingRegistry.registerKeyBinding(new KeyEventMatcher(this.showHideKeyConstant), new ToggleFilterRowAction());
}
Also used : ToggleFilterRowAction(org.eclipse.nebula.widgets.nattable.filterrow.action.ToggleFilterRowAction) KeyEventMatcher(org.eclipse.nebula.widgets.nattable.ui.matcher.KeyEventMatcher) FilterRowMouseEventMatcher(org.eclipse.nebula.widgets.nattable.filterrow.event.FilterRowMouseEventMatcher) MouseEditAction(org.eclipse.nebula.widgets.nattable.edit.action.MouseEditAction) ClearFilterAction(org.eclipse.nebula.widgets.nattable.filterrow.action.ClearFilterAction) ClearFilterIconMouseEventMatcher(org.eclipse.nebula.widgets.nattable.filterrow.event.ClearFilterIconMouseEventMatcher)

Aggregations

MouseEditAction (org.eclipse.nebula.widgets.nattable.edit.action.MouseEditAction)1 ClearFilterAction (org.eclipse.nebula.widgets.nattable.filterrow.action.ClearFilterAction)1 ToggleFilterRowAction (org.eclipse.nebula.widgets.nattable.filterrow.action.ToggleFilterRowAction)1 ClearFilterIconMouseEventMatcher (org.eclipse.nebula.widgets.nattable.filterrow.event.ClearFilterIconMouseEventMatcher)1 FilterRowMouseEventMatcher (org.eclipse.nebula.widgets.nattable.filterrow.event.FilterRowMouseEventMatcher)1 KeyEventMatcher (org.eclipse.nebula.widgets.nattable.ui.matcher.KeyEventMatcher)1