Home » Modeling » UML2 » using UML metaclasses within the extended metamodel
using UML metaclasses within the extended metamodel [message #476717] |
Fri, 07 December 2007 16:11  |
Eclipse User |
|
|
|
Hi,
I build a metamodel using the middleweight extension mechanism. I want
to define a metaclass that has nothing more than the Class metaclass,
except that I want to change its name from Class to Resource. could you
help me how to apply that case?
Moreover, I want to create an association between a metaclass in my own
metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
Regards,
Manar
|
|
| | |
Re: using UML metaclasses within the extended metamodel [message #476798 is a reply to message #476768] |
Fri, 21 December 2007 07:48   |
Eclipse User |
|
|
|
Kenn,
I looked at this overview carefully. But, I want to do that using the
middleweight extension not by using the heavyweight mechanism. I want to
create an association between a metaclass in my own metamodel and a UML
metaclass. Is it possible? If yes, how can I do that?
Thanks in advance,
Manar
Kenn Hussey wrote:
> Manar,
>
> Sorry for the delayed response; James is on vacation...
>
> Have you looked at the overview provided at
> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
> It should be a simple matter of creating a metamodel that contains your
> 'Resource' metaclass with a generalization to the 'Class' metaclass from the
> UML metamodel and with associations to the desired other metclasses in the
> metamodel...
>
> Kenn
>
> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
> news:fk0rb5$9jj$1@build.eclipse.org...
>> Hi,
>>
>> I'd be appreciated if anyone could answer my questions.
>>
>>
>> thanks in advance,
>> Manar
>>
>> Manar El-Kady wrote:
>>> Hi,
>>>
>>> I build a metamodel using the middleweight extension mechanism. I want to
>>> define a metaclass that has nothing more than the Class metaclass, except
>>> that I want to change its name from Class to Resource. could you help me
>>> how to apply that case?
>>>
>>> Moreover, I want to create an association between a metaclass in my own
>>> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>>>
>>>
>>> Regards,
>>> Manar
>
>
|
|
|
Re: using UML metaclasses within the extended metamodel [message #476800 is a reply to message #476798] |
Fri, 21 December 2007 08:15  |
Eclipse User |
|
|
|
Manar,
I think you just use Load Resource... to load the UML resource with the
model you want to reference and then the classes in it will be available
to create associations in your model.
Manar El-Kady wrote:
> Kenn,
>
> I looked at this overview carefully. But, I want to do that using the
> middleweight extension not by using the heavyweight mechanism. I want
> to create an association between a metaclass in my own metamodel and a
> UML metaclass. Is it possible? If yes, how can I do that?
>
>
> Thanks in advance,
> Manar
>
>
> Kenn Hussey wrote:
>> Manar,
>>
>> Sorry for the delayed response; James is on vacation...
>>
>> Have you looked at the overview provided at
>> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
>> It should be a simple matter of creating a metamodel that contains
>> your 'Resource' metaclass with a generalization to the 'Class'
>> metaclass from the UML metamodel and with associations to the desired
>> other metclasses in the metamodel...
>>
>> Kenn
>>
>> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
>> news:fk0rb5$9jj$1@build.eclipse.org...
>>> Hi,
>>>
>>> I'd be appreciated if anyone could answer my questions.
>>>
>>>
>>> thanks in advance,
>>> Manar
>>>
>>> Manar El-Kady wrote:
>>>> Hi,
>>>>
>>>> I build a metamodel using the middleweight extension mechanism. I
>>>> want to define a metaclass that has nothing more than the Class
>>>> metaclass, except that I want to change its name from Class to
>>>> Resource. could you help me how to apply that case?
>>>>
>>>> Moreover, I want to create an association between a metaclass in my
>>>> own metamodel and a UML metaclass. Is it possible? If yes, how can
>>>> I do that?
>>>>
>>>>
>>>> Regards,
>>>> Manar
>>
>>
|
|
|
Re: using UML metaclasses within the extended metamodel [message #625735 is a reply to message #476717] |
Sat, 15 December 2007 10:20  |
Eclipse User |
|
|
|
Hi,
I'd be appreciated if anyone could answer my questions.
thanks in advance,
Manar
Manar El-Kady wrote:
> Hi,
>
> I build a metamodel using the middleweight extension mechanism. I want
> to define a metaclass that has nothing more than the Class metaclass,
> except that I want to change its name from Class to Resource. could you
> help me how to apply that case?
>
> Moreover, I want to create an association between a metaclass in my own
> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>
>
> Regards,
> Manar
|
|
|
Re: using UML metaclasses within the extended metamodel [message #625741 is a reply to message #476762] |
Mon, 17 December 2007 10:09  |
Eclipse User |
|
|
|
Manar,
Sorry for the delayed response; James is on vacation...
Have you looked at the overview provided at
http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
It should be a simple matter of creating a metamodel that contains your
'Resource' metaclass with a generalization to the 'Class' metaclass from the
UML metamodel and with associations to the desired other metclasses in the
metamodel...
Kenn
"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:fk0rb5$9jj$1@build.eclipse.org...
> Hi,
>
> I'd be appreciated if anyone could answer my questions.
>
>
> thanks in advance,
> Manar
>
> Manar El-Kady wrote:
>> Hi,
>>
>> I build a metamodel using the middleweight extension mechanism. I want to
>> define a metaclass that has nothing more than the Class metaclass, except
>> that I want to change its name from Class to Resource. could you help me
>> how to apply that case?
>>
>> Moreover, I want to create an association between a metaclass in my own
>> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>>
>>
>> Regards,
>> Manar
|
|
|
Re: using UML metaclasses within the extended metamodel [message #625773 is a reply to message #476768] |
Fri, 21 December 2007 07:48  |
Eclipse User |
|
|
|
Kenn,
I looked at this overview carefully. But, I want to do that using the
middleweight extension not by using the heavyweight mechanism. I want to
create an association between a metaclass in my own metamodel and a UML
metaclass. Is it possible? If yes, how can I do that?
Thanks in advance,
Manar
Kenn Hussey wrote:
> Manar,
>
> Sorry for the delayed response; James is on vacation...
>
> Have you looked at the overview provided at
> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
> It should be a simple matter of creating a metamodel that contains your
> 'Resource' metaclass with a generalization to the 'Class' metaclass from the
> UML metamodel and with associations to the desired other metclasses in the
> metamodel...
>
> Kenn
>
> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
> news:fk0rb5$9jj$1@build.eclipse.org...
>> Hi,
>>
>> I'd be appreciated if anyone could answer my questions.
>>
>>
>> thanks in advance,
>> Manar
>>
>> Manar El-Kady wrote:
>>> Hi,
>>>
>>> I build a metamodel using the middleweight extension mechanism. I want to
>>> define a metaclass that has nothing more than the Class metaclass, except
>>> that I want to change its name from Class to Resource. could you help me
>>> how to apply that case?
>>>
>>> Moreover, I want to create an association between a metaclass in my own
>>> metamodel and a UML metaclass. Is it possible? If yes, how can I do that?
>>>
>>>
>>> Regards,
>>> Manar
>
>
|
|
|
Re: using UML metaclasses within the extended metamodel [message #625775 is a reply to message #476798] |
Fri, 21 December 2007 08:15  |
Eclipse User |
|
|
|
Manar,
I think you just use Load Resource... to load the UML resource with the
model you want to reference and then the classes in it will be available
to create associations in your model.
Manar El-Kady wrote:
> Kenn,
>
> I looked at this overview carefully. But, I want to do that using the
> middleweight extension not by using the heavyweight mechanism. I want
> to create an association between a metaclass in my own metamodel and a
> UML metaclass. Is it possible? If yes, how can I do that?
>
>
> Thanks in advance,
> Manar
>
>
> Kenn Hussey wrote:
>> Manar,
>>
>> Sorry for the delayed response; James is on vacation...
>>
>> Have you looked at the overview provided at
>> http://www.eclipse.org/modeling/mdt/uml2/docs/presentations/ EclipseCon2007_LongTalk.html?
>> It should be a simple matter of creating a metamodel that contains
>> your 'Resource' metaclass with a generalization to the 'Class'
>> metaclass from the UML metamodel and with associations to the desired
>> other metclasses in the metamodel...
>>
>> Kenn
>>
>> "Manar El-Kady" <manar.elkady@gmail.com> wrote in message
>> news:fk0rb5$9jj$1@build.eclipse.org...
>>> Hi,
>>>
>>> I'd be appreciated if anyone could answer my questions.
>>>
>>>
>>> thanks in advance,
>>> Manar
>>>
>>> Manar El-Kady wrote:
>>>> Hi,
>>>>
>>>> I build a metamodel using the middleweight extension mechanism. I
>>>> want to define a metaclass that has nothing more than the Class
>>>> metaclass, except that I want to change its name from Class to
>>>> Resource. could you help me how to apply that case?
>>>>
>>>> Moreover, I want to create an association between a metaclass in my
>>>> own metamodel and a UML metaclass. Is it possible? If yes, how can
>>>> I do that?
>>>>
>>>>
>>>> Regards,
>>>> Manar
>>
>>
|
|
|
Goto Forum:
Current Time: Sun May 11 12:18:00 EDT 2025
Powered by FUDForum. Page generated in 0.05182 seconds
|