public class DefaultPrintBindings extends AbstractUiBindingConfiguration {
@Override
public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
uiBindingRegistry.registerKeyBinding(
new KeyEventMatcher(SWT.CTRL, 'p'), new PrintAction());
}