Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to generate artifical mouse events?
How to generate artifical mouse events? [message #1767807] Tue, 11 July 2017 10:17 Go to next message
Linuxhippy Mising name is currently offline Linuxhippy Mising nameFriend
Messages: 72
Registered: July 2009
Member
Hi,

Is there any (cross browser) way to create artificial mouse events for a RAp widget - so that the serverside mouse event handler is fired?

Thanks, Clemens
Re: How to generate artifical mouse events? [message #1767808 is a reply to message #1767807] Tue, 11 July 2017 10:29 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2429
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
see EventUtil.js#mouseDown [1]. You have to generate valid event object with all the needed properties.

[1] https://github.com/eclipse/rap/blob/master/bundles/org.eclipse.rap.rwt/js/rwt/remote/EventUtil.js#L150

HTH,
Ivan
Previous Topic:Focus handling in RAP different to RCP?
Next Topic:Window Builder and Nebula Widgets
Goto Forum:
  


Current Time: Tue Jan 14 00:53:59 GMT 2025

Powered by FUDForum. Page generated in 0.02540 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top