Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » What kinds of jobs do not cause hourglass?
What kinds of jobs do not cause hourglass? [message #332512] Fri, 24 October 2008 13:47 Go to next message
Raymond Mising name is currently offline Raymond Mising nameFriend
Messages: 59
Registered: July 2009
Member
Hey,

I need to create a job which will be running like a daemon thread. I don't
want users see the hourglass when the job is running. I tried job,
workspacejob but all of them have hourglass when they are running. Any
thought?

Thanks.
Re: What kinds of jobs do not cause hourglass? [message #332514 is a reply to message #332512] Fri, 24 October 2008 14:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Use Job, but schedule it. If you schedule it, the job will run
automatically in the background.

Raymond wrote:
> Hey,
>
> I need to create a job which will be running like a daemon thread. I
> don't want users see the hourglass when the job is running. I tried job,
> workspacejob but all of them have hourglass when they are running. Any
> thought?
>
> Thanks.
>

--
Thanks,
Rich Kulp
Re: What kinds of jobs do not cause hourglass? [message #332517 is a reply to message #332514] Fri, 24 October 2008 15:46 Go to previous messageGo to next message
Raymond Mising name is currently offline Raymond Mising nameFriend
Messages: 59
Registered: July 2009
Member
------------------------------------------------------------ ------------------
Use Job, but schedule it. If you schedule it, the job will run
automatically in the background.

--
Thanks,
Rich Kulp


Thanks Rich, I tried Job and scheduled it, but I still got the hourglass.
Re: What kinds of jobs do not cause hourglass? [message #332518 is a reply to message #332517] Fri, 24 October 2008 18:02 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

What kind of Job did you use and how did you schedule it because
normally that would put it into the background:

e.g.:

import org.eclipse.runtime.jobs.Job;

Job job = new Job() {
protected IStatus run(IProgressMonitor pm) {
... do your job stuff. Don't access any UI at all from within here ...
}
};

job.schedule();



Raymond wrote:
> ------------------------------------------------------------ ------------------
>
> Use Job, but schedule it. If you schedule it, the job will run
> automatically in the background.
>
> --
> Thanks,
> Rich Kulp
>
> Thanks Rich, I tried Job and scheduled it, but I still got the hourglass.
>
>
>

--
Thanks,
Rich Kulp
Previous Topic:sub popup menu turns gray when i go near with the mouse
Next Topic:ObjectActionDelegate or Command ???
Goto Forum:
  


Current Time: Thu Jul 18 06:22:43 GMT 2024

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

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

Back to the top