idle user [message #296562] |
Mon, 26 December 2005 00:06  |
Eclipse User |
|
|
|
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 #296585 is a reply to message #296567] |
Tue, 27 December 2005 14:46   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.26869 seconds