Schlagwort: binding

setAccelerator(SWT.CTRL | ‚O‘); //not working!

In my current RCP application I had a problem that the menu key shortcuts did not work correctly: When I started the application and pressed the shortcut, nothing happened. After I opened the menu once, suddenly everything worked! I created the menu item in the “ApplicationActionBarAdvisor”: actionOpen.setAccelerator(SWT.CTRL | ‚O‘); So what is the problem? It …

weiterlesen »