Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » MWE WorkflowFacade with ProgressMonitor
MWE WorkflowFacade with ProgressMonitor [message #621322] Fri, 21 August 2009 09:14 Go to next message
Benjamin Schwertfeger is currently offline Benjamin SchwertfegerFriend
Messages: 53
Registered: July 2009
Member
Hi,
i would like to call workflows from within an eclipse RCP. Because the user should not read all debug output, the facade is called from an action. While the workflow is running, there is no feedback available. If I use the WorkflowRunner, which is at the moment public available, I've to catch many exceptions and ignore the new facade.

The ProgressMonitor of workflows is an own Monitor and not the IProgressMonitor, but an adapter is available.

Is there a solution for progress feedback from a workflow started with WorkflowFacade.check or WorkflowFacade.run?

Regards,

Benjamin
Re: MWE WorkflowFacade with ProgressMonitor [message #621323 is a reply to message #621322] Mon, 24 August 2009 08:17 Go to previous message
Sven Efftinge is currently offline Sven EfftingeFriend
Messages: 1823
Registered: July 2009
Senior Member
Hi Benjamin,

workflowfacade does not provide passing in a progress monitor.
But there is very little code in that class. So maybe you want to have
a look at it in order to find out how to run a workflow, using the
underlying API?
You could also subclass the facade and overwrite the run method only.

That said, it would of course make sense to allow setting a progress
monitor in the facade. So it would be highly appreciated if you would
file a corresponding bugzilla.

Cheers,
Sven


Benjamin Schwertfeger schrieb:
> Hi,
> i would like to call workflows from within an eclipse RCP. Because the
> user should not read all debug output, the facade is called from an
> action. While the workflow is running, there is no feedback available.
> If I use the WorkflowRunner, which is at the moment public available,
> I've to catch many exceptions and ignore the new facade.
>
> The ProgressMonitor of workflows is an own Monitor and not the
> IProgressMonitor, but an adapter is available.
>
> Is there a solution for progress feedback from a workflow started with
> WorkflowFacade.check or WorkflowFacade.run?
>
> Regards,
>
> Benjamin


--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com
Previous Topic:[EMF compare] merging explanation
Next Topic:MWE WorkflowFacade with ProgressMonitor
Goto Forum:
  


Current Time: Sat Jul 27 14:54:42 GMT 2024

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

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

Back to the top