Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:01 Go to next message
Kai Schlamp is currently offline Kai SchlampFriend
Messages: 344
Registered: July 2009
Senior Member
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 07:40 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
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: Thu Dec 26 14:30:16 GMT 2024

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

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

Back to the top