Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Editor-specific Shortcut isn't recognized
Editor-specific Shortcut isn't recognized [message #543703] Wed, 30 June 2010 07:05 Go to previous message
Markus Oley is currently offline 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.

What's the problem?

Regards
Markus
 
Read Message
Read Message
Previous Topic:How to access a List
Next Topic:screenshots when running tests on headless server
Goto Forum:
  


Current Time: Fri May 24 23:47:58 EDT 2013

Powered by FUDForum. Page generated in 0.01651 seconds