Home » Modeling » UML2 » using UML metaclasses within the extended metamodel
| | |
Re: using UML metaclasses within the extended metamodel [message #476798 is a reply to message #476768] |
Fri, 21 December 2007 12:48   |
Manar El-Kady Messages: 78 Registered: July 2009 |
Member |
|
|
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 13:15  |
Ed Merks Messages: 33011 Registered: July 2009 |
Senior Member |
|
|
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
>>
>>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| | |
Re: using UML metaclasses within the extended metamodel [message #625773 is a reply to message #476768] |
Fri, 21 December 2007 12:48  |
Manar El-Kady Messages: 78 Registered: July 2009 |
Member |
|
|
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 13:15  |
Ed Merks Messages: 33011 Registered: July 2009 |
Senior Member |
|
|
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
>>
>>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Goto Forum:
Current Time: Mon Dec 11 04:24:10 GMT 2023
Powered by FUDForum. Page generated in 0.02222 seconds
|