Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » User's activity
User's activity [message #1836233] Fri, 25 December 2020 04:39 Go to next message
Eclipse UserFriend
Hello everybody
I have several widgets that updated via thread every N sec.
I want to increase timeout for widget's update after 2 hours not activity user. (looks like sleep mode)
How understand when user in active mode or not? Where is one point I can catch all mouse clicks, moving, keyboard?
Dmitry

Re: User's activity [message #1836541 is a reply to message #1836233] Thu, 07 January 2021 03:42 Go to previous message
Eclipse UserFriend
Hi,

there is no public API for this, but probably you can use rwt.event.EventHandler#setMouseEventFilter and rwt.event.EventHandler#setKeyEventFilter in the JS side to be notified about mouse/keyboard events.

Regards,
Ivan
Previous Topic:What are all the best automation tools for RAP applications?
Next Topic:Feasibility of caching ThemeAdapter computations?
Goto Forum:
  


Current Time: Thu Jun 19 00:30:27 EDT 2025

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

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

Back to the top