I'm writing a text widget in Java SWT that displays a user-defined keyboard shortcut, such as CTRL + A. Is there some way to map SWT's internal stateMask-keyCode pairs to a string, or 开发者_开发百科do I have to do this by hand?
See org.eclipse.jface.bindings.keys.KeySequenceText and org.eclipse.jface.bindings.keys.KeySequence for a similar usage.
org.eclipse.jface.bindings.keys.SWTKeyLookup would help for simple string [Upper Case] to SWT keycode mapping
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论