|
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 message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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 #332518 is a reply to message #332517] |
Fri, 24 October 2008 18:02 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03387 seconds