Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » [EuGENia | EOL] GMFMap Link mapping manipulation
[EuGENia | EOL] GMFMap Link mapping manipulation [message #480486] Mon, 17 August 2009 11:26 Go to next message
Mihir is currently offline MihirFriend
Messages: 83
Registered: July 2009
Member
Hello,

I want to add the Containment Feature, Element and Source feature to the
link mapping in *.gmfmap file at the time of generation using
ECore2GMF.eol script. How can I do that?

Please help me with this. Any help will be highly appreciated.

Many thanks,
Mihir
Re: [EuGENia | EOL] GMFMap Link mapping manipulation [message #480488 is a reply to message #480486] Mon, 17 August 2009 11:41 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Mihir,

First you'll need to grab the link mapping of interest e.g.

var linkMapping = GmfMap!LinkMapping.all.selectOne(lm|<your condition
here>);

and then modify its properties like this:

linkMapping.containmentFeature = ECore!EReference.all.selectOne(ref|<the
condition that identifies the reference>);

Cheers,
Dimitris

Mihir wrote:
>
> Hello,
>
> I want to add the Containment Feature, Element and Source feature to the
> link mapping in *.gmfmap file at the time of generation using
> ECore2GMF.eol script. How can I do that?
>
> Please help me with this. Any help will be highly appreciated.
>
> Many thanks,
> Mihir
Re: [EuGENia | EOL] GMFMap Link mapping manipulation [message #480497 is a reply to message #480488] Mon, 17 August 2009 12:13 Go to previous message
Mihir is currently offline MihirFriend
Messages: 83
Registered: July 2009
Member
Hi Dimitris,

Thanks a million. It worked. :)

Cheers,
Mihir



Dimitris Kolovos wrote:
> Hi Mihir,
>
> First you'll need to grab the link mapping of interest e.g.
>
> var linkMapping = GmfMap!LinkMapping.all.selectOne(lm|<your condition
> here>);
>
> and then modify its properties like this:
>
> linkMapping.containmentFeature = ECore!EReference.all.selectOne(ref|<the
> condition that identifies the reference>);
>
> Cheers,
> Dimitris
>
> Mihir wrote:
>>
>> Hello,
>>
>> I want to add the Containment Feature, Element and Source feature to
>> the link mapping in *.gmfmap file at the time of generation using
>> ECore2GMF.eol script. How can I do that?
>>
>> Please help me with this. Any help will be highly appreciated.
>>
>> Many thanks,
>> Mihir
Re: [EuGENia | EOL] GMFMap Link mapping manipulation [message #574190 is a reply to message #480486] Mon, 17 August 2009 11:41 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Mihir,

First you'll need to grab the link mapping of interest e.g.

var linkMapping = GmfMap!LinkMapping.all.selectOne(lm|<your condition
here>);

and then modify its properties like this:

linkMapping.containmentFeature = ECore!EReference.all.selectOne(ref|<the
condition that identifies the reference>);

Cheers,
Dimitris

Mihir wrote:
>
> Hello,
>
> I want to add the Containment Feature, Element and Source feature to the
> link mapping in *.gmfmap file at the time of generation using
> ECore2GMF.eol script. How can I do that?
>
> Please help me with this. Any help will be highly appreciated.
>
> Many thanks,
> Mihir
Re: [EuGENia | EOL] GMFMap Link mapping manipulation [message #574209 is a reply to message #480488] Mon, 17 August 2009 12:13 Go to previous message
Mihir is currently offline MihirFriend
Messages: 83
Registered: July 2009
Member
Hi Dimitris,

Thanks a million. It worked. :)

Cheers,
Mihir



Dimitris Kolovos wrote:
> Hi Mihir,
>
> First you'll need to grab the link mapping of interest e.g.
>
> var linkMapping = GmfMap!LinkMapping.all.selectOne(lm|<your condition
> here>);
>
> and then modify its properties like this:
>
> linkMapping.containmentFeature = ECore!EReference.all.selectOne(ref|<the
> condition that identifies the reference>);
>
> Cheers,
> Dimitris
>
> Mihir wrote:
>>
>> Hello,
>>
>> I want to add the Containment Feature, Element and Source feature to
>> the link mapping in *.gmfmap file at the time of generation using
>> ECore2GMF.eol script. How can I do that?
>>
>> Please help me with this. Any help will be highly appreciated.
>>
>> Many thanks,
>> Mihir
Previous Topic:Problem with generated wizards
Next Topic:Wrong object type instantiated when using "new" inside EVL Quick Fixes and other issues
Goto Forum:
  


Current Time: Thu Apr 18 09:59:39 GMT 2024

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

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

Back to the top