Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » UML meta-levels mapping in Eclipse
UML meta-levels mapping in Eclipse [message #478128] Mon, 19 January 2009 16:56 Go to next message
Waqas is currently offline WaqasFriend
Messages: 32
Registered: July 2009
Member
Hi All,

I have some confusion in understanding the UML meta levels in Eclipse. I
have created a new project in UML's component diagram. Does it represent
the UML meta level 2 (M2) or meta level 1 (M1). Is there any article that
can explain how the UML's meta level are mapped in Eclipse MDT and Eclipse
UML tools?

Any hint in defining a project at M2 level, extending it in M1 level and
creating instances at M0 level?

Thanks
Waqas
Re: UML meta-levels mapping in Eclipse [message #478129 is a reply to message #478128] Mon, 19 January 2009 20:38 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Waqas.

* The M2 level represents the metamodel level. The eclipse UML2 project is
an implementation of the UML metamodel. The UML2 project does not involve
diagrams at all.

* M1 represents the Model level. When you are modeling using UML2Tools you
are creating instances of UML meta-types. For example when you create a
class called "My Class" what you are creating is an instance of the
uml:Class metatype from M2 level.

* M0 describes Instance level.

I'm not sure what you mean when you say: "I have created a new project in
UML's component diagram". Do you mean that you are extending UML in some
way?

This article might be of some use:
http://www.eclipse.org/modeling/mdt/uml2/docs/tutorials/Ecli pseCon2008_Tutorial_Creating_Robust_Scalable_DSL_with_UML_fi les/frame.html

Cheers,
- James.


"Waqas " <waqaskamal@gmail.com> wrote in message
news:34b1c3d465abc219bd078ce7452da995$1@www.eclipse.org...
> Hi All,
>
> I have some confusion in understanding the UML meta levels in Eclipse. I
> have created a new project in UML's component diagram. Does it represent
> the UML meta level 2 (M2) or meta level 1 (M1). Is there any article that
> can explain how the UML's meta level are mapped in Eclipse MDT and Eclipse
> UML tools?
> Any hint in defining a project at M2 level, extending it in M1 level and
> creating instances at M0 level?
>
> Thanks
> Waqas
>
Re: UML meta-levels mapping in Eclipse [message #627335 is a reply to message #478128] Mon, 19 January 2009 20:38 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Waqas.

* The M2 level represents the metamodel level. The eclipse UML2 project is
an implementation of the UML metamodel. The UML2 project does not involve
diagrams at all.

* M1 represents the Model level. When you are modeling using UML2Tools you
are creating instances of UML meta-types. For example when you create a
class called "My Class" what you are creating is an instance of the
uml:Class metatype from M2 level.

* M0 describes Instance level.

I'm not sure what you mean when you say: "I have created a new project in
UML's component diagram". Do you mean that you are extending UML in some
way?

This article might be of some use:
http://www.eclipse.org/modeling/mdt/uml2/docs/tutorials/Ecli pseCon2008_Tutorial_Creating_Robust_Scalable_DSL_with_UML_fi les/frame.html

Cheers,
- James.


"Waqas " <waqaskamal@gmail.com> wrote in message
news:34b1c3d465abc219bd078ce7452da995$1@www.eclipse.org...
> Hi All,
>
> I have some confusion in understanding the UML meta levels in Eclipse. I
> have created a new project in UML's component diagram. Does it represent
> the UML meta level 2 (M2) or meta level 1 (M1). Is there any article that
> can explain how the UML's meta level are mapped in Eclipse MDT and Eclipse
> UML tools?
> Any hint in defining a project at M2 level, extending it in M1 level and
> creating instances at M0 level?
>
> Thanks
> Waqas
>
Previous Topic:UML meta-levels mapping in Eclipse
Next Topic:Re: Reading UML Profile Elements in Java
Goto Forum:
  


Current Time: Tue Apr 23 12:22:24 GMT 2024

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

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

Back to the top