Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:52 Go to next message
ChrisFriend
Messages: 12
Registered: September 2009
Location: Braunschweig
Junior Member
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 15:15]

Report message to a moderator

Re: Sleeping Jobs in ProgressView [message #541361 is a reply to message #539979] Sun, 20 June 2010 12:47 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
Registered: July 2009
Senior Member
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 05:21 Go to previous message
ChrisFriend
Messages: 12
Registered: September 2009
Location: Braunschweig
Junior Member
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: Fri Mar 29 15:03:27 GMT 2024

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

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

Back to the top