Markus Oley Messages: 227 Registered: July 2009 Location: Germany
Senior Member
Hi,
I want to call a shortcut, that's bound to command shown in my contextmenue of my current editor.
I tried to trigger it by calling
KeyboardFactory.getSWTKeyboard().pressShortcut(SWT.SHIFT | SWT.CTRL, 'O');
(it's a Ctrl+Shift+O - organize imports in a xtexteditor).
This doesn't work.
I then tried to call another shortcut in my contextmenue, this doesn't work also.
General Shortcuts like Shift+Ctrl+R work this way.