MWE WorkflowFacade with ProgressMonitor [message #621322] |
Fri, 21 August 2009 05:14  |
Eclipse User |
|
|
|
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 04:17  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.05683 seconds