Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to use Progress-Bar widget in eclispe rcp
How to use Progress-Bar widget in eclispe rcp [message #721616] Fri, 02 September 2011 10:37 Go to next message
raghav Mising name is currently offline raghav Mising nameFriend
Messages: 18
Registered: May 2011
Junior Member

i have a very long running operation at background so i want to show the progress to the user in UI(My view).
I used ProgressMonitorDialog and can achieve the requirement but i want to use a normal ProgressBar(org.eclipse.swt.widgets.ProgressBar) despite for some reasons.

how can i implement a progressbar that simultaneously works(shows the progress i.e.., progress moves from 1% to 5%...) along with the background operation. Can someone provide a small pseudo-code.
Re: How to use Progress-Bar widget in eclispe rcp [message #721619 is a reply to message #721616] Fri, 02 September 2011 10:42 Go to previous message
Vijay RajFriend
Messages: 608
Registered: July 2009
Senior Member
Snippets
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet56.java

and

http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet57.java

should help


---------------------
why, mr. Anderson, why, why do you persist?
Because I Choose To.
Regards,
Vijay
Previous Topic:Detect drop location from DND event
Next Topic:Exception in thread "AWT-AppKit" org.eclipse.swt.SWTException: Invalid thread access
Goto Forum:
  


Current Time: Tue Apr 16 04:06:33 GMT 2024

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

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

Back to the top