What kinds of jobs do not cause hourglass? [message #332512] |
Fri, 24 October 2008 13:47  |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
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   |
Eclipse User |
|
|
|
------------------------------------------------------------ ------------------
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  |
Eclipse User |
|
|
|
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.03747 seconds