Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to invoke a handler with a progress monitor?
How to invoke a handler with a progress monitor? [message #494488] Fri, 30 October 2009 20:20 Go to next message
No real name is currently offline No real nameFriend
Messages: 1
Registered: October 2009
Junior Member
I'm trying to seperate my commands into UI and non-UI. I register my non-UI handler to a menu action. That handler may take while to execute. Is there a way to run that handler with a IProgressMonitor? Note, I don't want to depend any UI code, or else I would have just run it like:

PlatformUI.getWorkbench().getProgressService().busyCursorWhi le(runnable);

Re: How to invoke a handler with a progress monitor? [message #494517 is a reply to message #494488] Sat, 31 October 2009 00:37 Go to previous message
Michael Pellaton is currently offline Michael PellatonFriend
Messages: 289
Registered: July 2009
Senior Member
I am unsure about handlers, but if you are using the Job API, you can
certainly get progress bars for non-ui processes.

More information about the Job API: .html


Previous Topic:RCP with JPA
Next Topic:Commands, Actions, Handlers, and buttons
Goto Forum:

Current Time: Tue Jun 19 05:16:23 GMT 2018

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

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

Back to the top