Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » IProgressMonitor: progress is not shown in statusLine(Editor>doSave> the monitor passed doesn't show up on status line)
IProgressMonitor: progress is not shown in statusLine [message #484483] Mon, 07 September 2009 12:36 Go to next message
Michelle Tadmor is currently offline Michelle Tadmor
Messages: 23
Registered: July 2009
Junior Member
Hi All,

Desire:

I wrote a personalized editor.
When the user "saves" I get called on "doSave" with a progress monitor.
I want to update the monitor so it will show stuff on the status line. (like when building, or synchronizing with SVN and it has that nice progress bar of things happening in the backgrounf)

a couple of Problems:


  • i my work on a separate thread. then i get an SWT thread access error that i'm trying to access the status Line not from the gui thread.
  • so I wrapped the use of the monitor in asynchExec... but now nothing shows on my status line
  • I even tried for testing to remove my separate thread and do it all on the main thread but the status line progress does not show.



any help is appreciated! thank you
Re: IProgressMonitor: progress is not shown in statusLine [message #484767 is a reply to message #484483] Wed, 09 September 2009 04:03 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 558
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

you can take a look at this great post :
http://blog.eclipse-tips.com/2009/02/using-progress-bars.htm l

Hoping this will help.

Aurelien Pupier


Aurélien Pupier - BonitaSoft S.A.
My blog
My company Eclipse-related blog
Previous Topic:Common Navigator and Detect Drag Start problem
Next Topic:p2 FeaturesAndBundlesPublisher
Goto Forum:
  


Current Time: Thu Aug 21 04:27:17 EDT 2014

Powered by FUDForum. Page generated in 0.09833 seconds