Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Is there a way to send a key event programmatically?

I want to invoke the accelerator menu (Ctrl+F7) programmatically in Eclipse. But I could not find a way to fire such keyEvent in code, Is there a mechanism in Eclipse can support this now? To simulate a key event? and will SWT support it in future? I think this kind of mechanism could make it possible to support the automation UI test of Eclipse.

Can I use notifyListeners(eventType, event) to do that?

Need your help.


Ma Yue,
IBM Client Platform, IBM China Software Development Lab


Back to the top