private void bindShortcuts ( Map < Object , Object > shortcuts ) { for ( Object commandName : shortcuts . keySet ( ) ) { bindShortcuts ( commandName . toString ( ) , shortcuts . get ( commandName ) . toString ( ) ) ; } }
Binds the shortcuts specified in the map to the associated commands . The map key is the command name and the associated value is a list of shortcuts bound to the command .