Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » idle user
idle user [message #296562] Mon, 26 December 2005 00:06 Go to next message
Eclipse UserFriend
Originally posted by: osipov.appliedtech.ru

Hi, everybody!
Could you give me a hint how to do the following thing. I have some job to
do everytime my view is closed. But it might not be done at all actually, it
is sort of garbage-collecting job, but it might be time-consuming.
So, I want to launch it if the user is idle for some time which is a sign
that I can do something in a background. How do I do this?
thans a lot in advance.
Re: idle user [message #296565 is a reply to message #296562] Mon, 26 December 2005 19:15 Go to previous messageGo to next message
Eclipse UserFriend
Peter Osipov wrote:

> Hi, everybody!
> Could you give me a hint how to do the following thing. I have some job to
> do everytime my view is closed. But it might not be done at all actually,
> it is sort of garbage-collecting job, but it might be time-consuming.
> So, I want to launch it if the user is idle for some time which is a sign
> that I can do something in a background. How do I do this?
> thans a lot in advance.
i use Display#addFilter for similar tasks
Re: idle user [message #296567 is a reply to message #296565] Tue, 27 December 2005 00:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: osipov.appliedtech.ru

Haris, hi!
Thanks again for your help.
The thing is I cannot figure out what type of event I should pass to that
function addFilter, eh?
Could you give me a hint?

> Peter Osipov wrote:
>
> > Hi, everybody!
> > Could you give me a hint how to do the following thing. I have some job
to
> > do everytime my view is closed. But it might not be done at all
actually,
> > it is sort of garbage-collecting job, but it might be time-consuming.
> > So, I want to launch it if the user is idle for some time which is a
sign
> > that I can do something in a background. How do I do this?
> > thans a lot in advance.
> i use Display#addFilter for similar tasks
Re: idle user [message #296585 is a reply to message #296567] Tue, 27 December 2005 14:46 Go to previous messageGo to next message
Eclipse UserFriend
Peter,
i add KeyUp, KeyDown, MouseUp and MouseDown
if user don't do this in any period i call job for iddle
(logout user from application and close all open editors and views in my
case)
Peter Osipov wrote:

> Haris, hi!
> Thanks again for your help.
> The thing is I cannot figure out what type of event I should pass to that
> function addFilter, eh?
> Could you give me a hint?
>
>> Peter Osipov wrote:
>>
>> > Hi, everybody!
>> > Could you give me a hint how to do the following thing. I have some job
> to
>> > do everytime my view is closed. But it might not be done at all
> actually,
>> > it is sort of garbage-collecting job, but it might be time-consuming.
>> > So, I want to launch it if the user is idle for some time which is a
> sign
>> > that I can do something in a background. How do I do this?
>> > thans a lot in advance.
>> i use Display#addFilter for similar tasks
Re: idle user [message #296610 is a reply to message #296585] Wed, 28 December 2005 00:25 Go to previous message
Eclipse UserFriend
Originally posted by: osipov.appliedtech.ru

Oh, right. ok, I'll bare it in mind. Thanks again for your help, Haris.
> Peter,
> i add KeyUp, KeyDown, MouseUp and MouseDown
> if user don't do this in any period i call job for iddle
> (logout user from application and close all open editors and views in my
> case)
> Peter Osipov wrote:
>
> > Haris, hi!
> > Thanks again for your help.
> > The thing is I cannot figure out what type of event I should pass to
that
> > function addFilter, eh?
> > Could you give me a hint?
> >
> >> Peter Osipov wrote:
> >>
> >> > Hi, everybody!
> >> > Could you give me a hint how to do the following thing. I have some
job
> > to
> >> > do everytime my view is closed. But it might not be done at all
> > actually,
> >> > it is sort of garbage-collecting job, but it might be time-consuming.
> >> > So, I want to launch it if the user is idle for some time which is a
> > sign
> >> > that I can do something in a background. How do I do this?
> >> > thans a lot in advance.
> >> i use Display#addFilter for similar tasks
>
Previous Topic:Eclipse license going GPL? Why not now?
Next Topic:org.eclipse.jface.text.source.SourceViewer
Goto Forum:
  


Current Time: Thu Jul 24 16:29:21 EDT 2025

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

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

Back to the top