Skip to main content



      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 06:37 Go to next message
Eclipse UserFriend
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 06:42 Go to previous message
Eclipse UserFriend
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
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 Jul 01 09:09:08 EDT 2025

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

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

Back to the top