Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Sleeping Jobs in ProgressView(Show sleeping jobs but not system jobs.)
Sleeping Jobs in ProgressView [message #539979] Mon, 14 June 2010 09:52 Go to next message
Eclipse UserFriend
How do I solve the issue of showing Jobs that have not been started/scheduled yet.

In my RCP it is neccessary to wait until the user starts a number of different jobs by pushing the "run" button. I want to show these jobs before starting them. When running I want the progress capability.
What the best practice to to so? Write an extension to org.eclipse.ui.views.ProgressView?

I am open to suggestions.

[Updated on: Tue, 15 June 2010 11:15] by Moderator

Re: Sleeping Jobs in ProgressView [message #541361 is a reply to message #539979] Sun, 20 June 2010 08:47 Go to previous messageGo to next message
Eclipse UserFriend
Hi Chris,

Scheduled jobs should be visible in the progressmonitor view even if they are
not running yet. If you make the job a system job, it will not show in the
UI.

--

Best Regards,
Wim Jongman
-- As a computer, I find your faith in technology amusing.
(Eclipse Old
Skool Quote Service)

> How do I solve the issue of showing Jobs that have not been
started/scheduled yet.
>
> In my RCP it is neccessary to wait until the user starts a number of
different jobs by pushing the "run" button. I want to show these jobs before
starting them. When running I want the progress capability.
>
> Which is the best practice to to so? Write an extension to
org.eclipse.ui.views.ProgressView?
>
> I am open to suggestions.
icon14.gif  Re: Sleeping Jobs in ProgressView [message #541420 is a reply to message #541361] Mon, 21 June 2010 01:21 Go to previous message
Eclipse UserFriend
Thx Wim for your reply!

While it is true that user jobs are shown when they are scheduled and asleep, they also start right away when using #schedule().

I solved my issue in creating a dummy Job that does nothing but wait for a button to be pushed and then is done. This job is the first in the row and blocks the rest as long as it is running.

Worked for me _for now_.
Previous Topic:RCP with an Intro / Welcome page
Next Topic:Please help, Distinguish enter key event in Editor
Goto Forum:
  


Current Time: Wed Jul 02 17:17:47 EDT 2025

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

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

Back to the top