|Couldn't pressShortcut() be supported for all widgets? [message #481525]
||Fri, 21 August 2009 11:56
| Daniel Weber
Registered: July 2009
we wanted to 'send' a few keystrokes to a tree to simulate a user pressing delete, for example. This is currently not possible (correct me if I'm wrong).
Pressing shortcuts is currently supported for SWTBotText and SWTBotStyledText only. Wouldn't it make sense to pull the pressShortcut methods up to the abstract base class (AbstractSWTBot)? The implementations don't use anything special to the text widgets. This would allow us to simulate key presses for every SWTBot widget.
Powered by FUDForum
. Page generated in 0.01886 seconds