Key Shortcuts Combinations: Alternative Modifier keys

Hello everyone,

I wonder if it is somehow possible to create shortcut handlers that react to special key combinations, like Key.H + Key.NUM1 ? As far as my research goes, it is only possible to use the predefined ModyfierKeys (ALT, SHIFT, CTRL, META) to make key combinations work. Yet, i would like to avoid using those system dependent keys and make combinations with any keys.

Is it somehow possible to overwrite some ActionHandlers to achieve something like this?

shortCutAction(String caption, int keycode, int[] modifierKeys)

ShortCutAction("doSmth", KeyCode.NUM1, new int[] {KeyCode.H} )

Edit: I am using Vaadin 6.8.12, and i am not able to upgrade to version 7 atm.

Thanks for your help.

kind regards,