Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [Job API] Dialog doesn't show up.
[Job API] Dialog doesn't show up. [message #336573] Wed, 24 June 2009 06:01 Go to next message
Eclipse UserFriend
Hello.

I am using a Job in my RCP for a long running task.
The problem is that the progress dialog does not show up (setUser was set to true).
But if I first wait for some milliseconds (Thread.sleep(500)) in my run method, then the dialog
shows up without a problem.
Is that really necessary? I don't think so. Any suggestions?

Regards,
Kai
Re: [Job API] Dialog doesn't show up. [message #336610 is a reply to message #336573] Thu, 25 June 2009 03:40 Go to previous message
Eclipse UserFriend
Kai Schlamp wrote:
> Hello.
>
> I am using a Job in my RCP for a long running task.
> The problem is that the progress dialog does not show up (setUser was
> set to true).
> But if I first wait for some milliseconds (Thread.sleep(500)) in my run
> method, then the dialog shows up without a problem.
> Is that really necessary? I don't think so. Any suggestions?
>
> Regards,
> Kai

Does your job completes within few millisecs? The progress dialog itself
is opened up in a Job. By the time the open job gets to run, your job
might have been completed.

- Prakash

---
http://blog.eclipse-tips.com
Previous Topic:Class Loader pbs with Hibernate and Oracle 10.2
Next Topic:Help? Lost Snippets view
Goto Forum:
  


Current Time: Tue Apr 29 05:54:23 EDT 2025

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

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

Back to the top