Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Execute several wme workflow(Execute several wme workflow)
Execute several wme workflow [message #1772503] Mon, 11 September 2017 15:15 Go to next message
David Garcia is currently offline David GarciaFriend
Messages: 16
Registered: July 2016
Junior Member

I have a wme workflow (A) which execute from eclipse witn "Run as" and I want reuse another wme (B) in workflow A. Is it possible?

Re: Execute several wme workflow [message #1774424 is a reply to message #1772503] Sat, 14 October 2017 06:30 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31770
Registered: July 2009
Senior Member
I doubt that's possible. It's probably better to ask on the EMFT forum with [MWE] in the subject...

Ed Merks
Professional Support:
Re: Execute several wme workflow [message #1774428 is a reply to message #1774424] Sat, 14 October 2017 07:58 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7047
Registered: July 2009
Senior Member

Absolutely. Below is the GIT\org.eclipse.ocl\examples\\src\org\eclipse\ocl\examples\build\GenerateAllEditors.mwe2 compound workflow. (I isolate all my build functionality in a distinct build plugin to avoid bloating deliverables plugins and to reduce the dependency loops that can confuse the Xtext indexer/builder.)

Beware: they invoked workflows share the same symbol space, so a ResourseSet may be shared which is usually a good idea since it avoids wasting time reloading. However it may give inter-workflow interference. You may want to use distinctive variable/bean names to avoid interference.


Ed Willink

module GenerateAllEditors

* Generate all Xtext editors (but not their Concrete Syntax Models).
Workflow {
component = @GenerateBaseEditor {}
component = @GenerateEssentialOCLEditor {}
component = @GenerateMarkupEditor {}
component = @GenerateOCLinEcoreEditor {}
component = @GenerateCompleteOCLEditor {}
component = @GenerateOCLstdlibEditor {}
Previous Topic:Genmodel to xsd, xsd to c# classes
Next Topic:[CDO] Memory usage for complete model access
Goto Forum:

Current Time: Mon Mar 01 08:06:53 GMT 2021

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

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

Back to the top