Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Questions in UML Extension mechanisms
Questions in UML Extension mechanisms [message #471744] Wed, 21 March 2007 10:25 Go to next message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
Hi,
I've read the "What_do_YOU_want_UML_to_be?" presentation and the other
customization articles that James mentioned them in previous threads.
They are excellent, very illustrative and determined. Thank YOU.

I have some questions in these extension mechanisms.
In the Featherweight extension, why the file format is non-standard? How
we can add the keyword using the UML2 editor?

In the lightweight extension, it is mentioned that it has the ability to
add structure. Does it mean by adding tagged values? Also, what does it
mean by “the file format is bloated”?

In the middleweight extension, what is the reason for discouraging that
the implementation classes in the specialized metamodel extends the UML2
implementation classes? How can the middleweight extension modify
structure? Also, how can we say that API is domain-specific and at the
same time API is domain-independent?

What do you mean by “The API and resource implementation must conform
with the UML2 API and resource implementation” in the middleweight and
not in the heavyweight?

What is the difference between the Heavyweight and middleweight
extensions to say that the middleweight extensions can’t modify behavior
while the heavyweight extension can do?

In Middleweight and the Heavyweight extensions, I’d like to understand
how the file format is compact and at the same time is non-standard.

Thanks in advance.

Redards,
Manar
Re: Questions in UML Extension mechanisms [message #471747 is a reply to message #471744] Wed, 21 March 2007 15:11 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Manar,

You should have attended my talk at EclipseCon! ;)

James is planning to address these kinds of questions in his detailed
articles; in the meantime, see my responses inline, below.

Kenn

"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:etr16b$9il$1@utils.eclipse.org...
> Hi,
> I've read the "What_do_YOU_want_UML_to_be?" presentation and the other
> customization articles that James mentioned them in previous threads. They
> are excellent, very illustrative and determined. Thank YOU.
>

Glad that you have found them useful.

> I have some questions in these extension mechanisms.
> In the Featherweight extension, why the file format is non-standard? How
> we can add the keyword using the UML2 editor?
>

The format is non-standard (from an OMG perspective) because it makes use of
Ecore annotations, which aren't part of the official UML metamodel. You can
add a keyword via the UML editor by creating an annotation with source
'http://www.eclipse.org/uml2/2.0.0/UML' and adding a detail entry whose key
is the desired string (and whose value is null).

> In the lightweight extension, it is mentioned that it has the ability to
> add structure. Does it mean by adding tagged values? Also, what does it
> mean by
Re: Questions in UML Extension mechanisms [message #603084 is a reply to message #471744] Wed, 21 March 2007 15:11 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
Manar,

You should have attended my talk at EclipseCon! ;)

James is planning to address these kinds of questions in his detailed
articles; in the meantime, see my responses inline, below.

Kenn

"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:etr16b$9il$1@utils.eclipse.org...
> Hi,
> I've read the "What_do_YOU_want_UML_to_be?" presentation and the other
> customization articles that James mentioned them in previous threads. They
> are excellent, very illustrative and determined. Thank YOU.
>

Glad that you have found them useful.

> I have some questions in these extension mechanisms.
> In the Featherweight extension, why the file format is non-standard? How
> we can add the keyword using the UML2 editor?
>

The format is non-standard (from an OMG perspective) because it makes use of
Ecore annotations, which aren't part of the official UML metamodel. You can
add a keyword via the UML editor by creating an annotation with source
'http://www.eclipse.org/uml2/2.0.0/UML' and adding a detail entry whose key
is the desired string (and whose value is null).

> In the lightweight extension, it is mentioned that it has the ability to
> add structure. Does it mean by adding tagged values? Also, what does it
> mean by
Previous Topic:Examples of the UML customization presentation
Next Topic:Programmatically create port
Goto Forum:
  


Current Time: Thu Apr 25 12:24:36 GMT 2024

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

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

Back to the top