Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Accessing MapInfo structure from ECL
Accessing MapInfo structure from ECL [message #590235] Tue, 22 June 2010 13:42 Go to next message
Stephen Barrett is currently offline Stephen BarrettFriend
Messages: 46
Registered: May 2010
Member
Hi guys,

I can't figure out how to put a value into a match's info map after a successful compare. I can see the (empty) structure in the debugger, but can't access it from ECL.

The Epsilon Book states that it is possible to do so from within the do part of a compare for the established match. Trouble is, I don't know how to get a hold of the "established match".

Many thanks,
--Stephen
Re: Accessing MapInfo structure from ECL [message #590255 is a reply to message #590235] Tue, 22 June 2010 14:00 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Stephen,

You should be able to access the map using the implicit matchInfo
variable (and I should probably update the book :) ).

Cheers,
Dimitris

Stephen Barrett wrote:
> Hi guys,
>
> I can't figure out how to put a value into a match's info map after a
> successful compare. I can see the (empty) structure in the debugger, but
> can't access it from ECL.
> The Epsilon Book states that it is possible to do so from within the do
> part of a compare for the established match. Trouble is, I don't know
> how to get a hold of the "established match".
>
> Many thanks,
> --Stephen
Previous Topic:[Patch] Clash between "default" variables and "default" (new?) keyword in Epsilo
Next Topic:[EOL, EWL, EVL] Ecore-aware Code Completion
Goto Forum:
  


Current Time: Sun Dec 21 01:21:34 GMT 2014

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

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