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: 12
Registered: July 2009
Junior 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: 2285
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: Wed Aug 15 07:11:07 GMT 2018

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

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

Back to the top