Composite Class [message #37346] |
Fri, 11 May 2007 20:58  |
Eclipse User |
|
|
|
Originally posted by: mpitanga.gmail.com
Hi,
I have the following situation:
Class A {
method1,
method2
}
Class B {
method3,
method4
}
and I need to create a third Class, for example:
Class C {
method1, // copy from Class A
method2, // copy from Class A
method3, // copy from Class B
method4 // copy from Class B
}
ps. Class A and Class B belong to the same model.
In the end of the transformation process my model will have 3 classes
Class A {
method1,
method2
}
Class B {
method3,
method4
}
Class C {
method1, // copy from Class A
method2, // copy from Class A
method3, // copy from Class B
method4 // copy from Class C
}
has someone an example?
Thanks
|
|
|
[ATL] Re: Composite Class [message #37380 is a reply to message #37346] |
Sat, 12 May 2007 06:42   |
Eclipse User |
|
|
|
Originally posted by: mpitanga.gmail.com
"Marcelo Alves" <mpitanga@gmail.com> wrote in message
news:f233ea$j4a$1@build.eclipse.org...
> Hi,
>
> I have the following situation:
>
> Class A {
> method1,
> method2
> }
>
> Class B {
> method3,
> method4
> }
>
> and I need to create a third Class, for example:
>
> Class C {
> method1, // copy from Class A
> method2, // copy from Class A
> method3, // copy from Class B
> method4 // copy from Class B
> }
>
> ps. Class A and Class B belong to the same model.
>
> In the end of the transformation process my model will have 3 classes
>
> Class A {
> method1,
> method2
> }
>
> Class B {
> method3,
> method4
> }
>
> Class C {
> method1, // copy from Class A
> method2, // copy from Class A
> method3, // copy from Class B
> method4 // copy from Class C
> }
>
> has someone an example?
>
> Thanks
>
>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04227 seconds