Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Can a class inherit its super's context helper?
[ATL] Can a class inherit its super's context helper? [message #71147] Wed, 09 January 2008 15:28 Go to next message
Mikai Yang is currently offline Mikai YangFriend
Messages: 149
Registered: July 2009
Senior Member
hi,
Can a class inherit its super's context helper?
Thanks.
Best Regards.
Michael.
Re: [ATL] Can a class inherit its super's context helper? [message #71209 is a reply to message #71147] Wed, 09 January 2008 16:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mikael.barbero.gmail.com

Hi,

Could you be more explicit please (sample is the best)?

Mikael


Michael wrote:
> hi,
> Can a class inherit its super's context helper?
> Thanks.
> Best Regards.
> Michael.
>
>



--
Mikaël Barbero - PhD Candidate
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssinière
44322 Nantes Cedex 3 - France
tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
http://www.sciences.univ-nantes.fr/lina/atl/
Re: [ATL] Can a class inherit its super's context helper? [message #71248 is a reply to message #71209] Wed, 09 January 2008 16:24 Go to previous messageGo to next message
Mikai Yang is currently offline Mikai YangFriend
Messages: 149
Registered: July 2009
Senior Member
Hi,
For example, in the context of class 'A', we define a helper; Class 'B'
is a sub-class of class 'A'. I mean, does class 'B' inherit the helper,
which is defined in the context of class 'A'?
Thanks.
Michael.
"Mika
Re: [ATL] Can a class inherit its super's context helper? [message #71286 is a reply to message #71248] Wed, 09 January 2008 16:31 Go to previous message
Eclipse UserFriend
Originally posted by: mikael.barbero.gmail.com

Michael,

Yes, if you call a helper defined on a type A on an element which type
is a subtype of A, there is no problem.

Best regards,
Mikael

Michael wrote:
> Hi,
> For example, in the context of class 'A', we define a helper; Class 'B'
> is a sub-class of class 'A'. I mean, does class 'B' inherit the helper,
> which is defined in the context of class 'A'?
> Thanks.
> Michael.
> "Mikaël Barbero" <mikael.barbero@gmail.com> wrote in message
> news:fm2rq9$qg1$2@build.eclipse.org...
>> Hi,
>>
>> Could you be more explicit please (sample is the best)?
>>
>> Mikael
>>
>>
>> Michael wrote:
>>> hi,
>>> Can a class inherit its super's context helper?
>>> Thanks.
>>> Best Regards.
>>> Michael.
>>
>>
>> --
>> Mikaël Barbero - PhD Candidate
>> ATLAS Group (INRIA & LINA) - University of Nantes
>> 2, rue de la Houssinière
>> 44322 Nantes Cedex 3 - France
>> tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
>> email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
>> http://www.sciences.univ-nantes.fr/lina/atl/
>
>



--
Mikaël Barbero - PhD Candidate
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssinière
44322 Nantes Cedex 3 - France
tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
http://www.sciences.univ-nantes.fr/lina/atl/
Previous Topic:[ATL] Navigation of target model in ATL
Next Topic:[ATL] Error handling for running transformations programmatically
Goto Forum:
  


Current Time: Sun May 16 21:23:18 GMT 2021

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

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

Back to the top