Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » User's activity
User's activity [message #1836233] Fri, 25 December 2020 09:39 Go to next message
Dmitry Dukhov is currently offline Dmitry DukhovFriend
Messages: 192
Registered: February 2013
Senior Member
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?

Re: User's activity [message #1836541 is a reply to message #1836233] Thu, 07 January 2021 08:42 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member

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.

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

Current Time: Mon Jun 17 08:21:13 GMT 2024

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

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

Back to the top