Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Using of Sequence as global variable
Using of Sequence as global variable [message #1341863] Thu, 08 May 2014 17:41 Go to next message
Samantha Parker is currently offline Samantha ParkerFriend
Messages: 4
Registered: April 2014
Junior Member
Hi, I am doing a model transformation and I need to save some items that I can reuse. I used a Sequence as a global variable like these:

helper def: events: Sequence(TypeA!ViewElementEvent) = Sequence{};

and I use it in that way:

do { <-;

This way is correct in fact contain what I need, but when I associate the Sequence to the element to transform in the Rule

composedBy <-

this does not produce any results. Where am I wrong?
Re: Using of Sequence as global variable [message #1349438 is a reply to message #1341863] Mon, 12 May 2014 07:36 Go to previous message
Sylvain EVEILLARD is currently offline Sylvain EVEILLARDFriend
Messages: 552
Registered: July 2009
Senior Member
Be careful that there is no guarantee on the order for the rules execution. You can't do something in a rule in order to re-use the result in another rule for exemple.
Previous Topic:[EMFTVM] Exception while loading metamodel
Next Topic:[solved] helper call two sentences ??
Goto Forum:

Current Time: Mon Jun 25 02:17:08 GMT 2018

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

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

Back to the top