Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Positioning the jobs progress indicator on the status line(How do I control where the jobs progress indicator goes on the status line?)
Positioning the jobs progress indicator on the status line [message #512383] Thu, 04 February 2010 20:30 Go to next message
Dave is currently offline DaveFriend
Messages: 11
Registered: July 2009
Junior Member
How do I control where the jobs progress indicator goes on the status line?

I have a status line, it has some items on it already that i've added previously.

I now need the Jobs progress indicator to be visible when a job is running. So, I turned on configurer.setShowProgressIndicator(true) in preWindowOpen(). I told my jobs to set setSystem( true ) on each of them.

However, the resulting behavior is that the space on the status line that *used* to have status messages in it (which I post messages to on occasion) is now cut in half by a draggable-dashed-line all the time. The Jobs progress indicator shows up to the right of this when a job is active, but it kills the amount of space i have to post status messages now.

Is there any way to programmatically pick where the Jobs progress monitor goes?
I'd love it if it stayed on the far left side of the status line (where there is lots of wasted space).

Any ideas would be appreciated.

thanks,

-dave

[Updated on: Tue, 16 February 2010 16:11]

Report message to a moderator

Re: Positioning the jobs progress indicator on the status line [message #518387 is a reply to message #512383] Wed, 03 March 2010 23:13 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 418
Registered: July 2009
Senior Member
Hi Dave,

I'm not sure that you have to make it visible all the time. Just use the run
method of the workbenchwindow class. Also you can get a progressmonitor from
the view- or editorsite actionbars to show progress when you need it.

--

Best Regards,
Wim Jongman
-- ... File not found. Should I fake it? (Y/N)
(Eclipse Old Skool Quote Service)


> How do I control where the jobs progress indicator goes on the status line?
>
> I have a status line, it has some items on it already that i've added
previously.
>
> I now need the Jobs progress indicator to be visible when a job is running.
So, I turned on configurer.setShowProgressIndicator(true) in preWindowOpen().
I told my jobs to set setSystem( true ) on each of them.
>
> However, the resulting behavior is that the space on the status line that
*used* to have status messages in it (which I post messages to on occasion)
is now cut in half by a draggable-dashed-line all the time. The Jobs progress
indicator shows up to the right of this when a job is active, but it kills
the amount of space i have to post status messages now.
>
> Is there any way to programmatically pick where the Jobs progress monitor
goes?
> I'd love it if it stayed on the far left side of the status line (where
there is lots of wasted space).
>
> Any ideas would be appreciated.
>
> thanks,
>
> -dave
Re: Positioning the jobs progress indicator on the status line [message #521225 is a reply to message #518387] Tue, 16 March 2010 19:19 Go to previous message
Dave is currently offline DaveFriend
Messages: 11
Registered: July 2009
Junior Member
I want the area visible, but I want to be able to choose the location. It seems to default to the lower right hand corner. If I could make it always show up in the upper right hand corner, i would be very happy.

I've not seen any API calls that will help me do this, although I can drag it by mouse to where I want it.

thanks,

-dave
Previous Topic:Advice on posting
Next Topic:JDK 6 webstart and eclipse 3.4.2
Goto Forum:
  


Current Time: Sun Dec 21 22:17:59 GMT 2014

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

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