[EuGENia | EOL] GMFMap Link mapping manipulation [message #480486] |
Mon, 17 August 2009 07:26  |
Eclipse User |
|
|
|
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 08:13  |
Eclipse User |
|
|
|
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 07:41  |
Eclipse User |
|
|
|
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 08:13  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04859 seconds