* (org.eclipse.nebula.widgets.nattable.ui.binding.UiBindingRegistry)
*/
@Override
public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
if (this.colHeaderMenu != null) {
uiBindingRegistry.registerMouseDownBinding(new MouseEventMatcher(
SWT.NONE, GridRegion.COLUMN_HEADER,
MouseEventMatcher.RIGHT_BUTTON), new PopupMenuAction(
this.colHeaderMenu));
}
if (this.rowHeaderMenu != null) {
uiBindingRegistry.registerMouseDownBinding(new MouseEventMatcher(
SWT.NONE, GridRegion.ROW_HEADER,
MouseEventMatcher.RIGHT_BUTTON), new PopupMenuAction(
this.rowHeaderMenu));
}
if (this.cornerMenu != null) {
uiBindingRegistry.registerMouseDownBinding(
new MouseEventMatcher(SWT.NONE, GridRegion.CORNER,
MouseEventMatcher.RIGHT_BUTTON),
new PopupMenuAction(this.cornerMenu));
}
}