Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » RE: Re: Extension UML2
RE: Re: Extension UML2 [message #626330] Wed, 02 April 2008 09:59
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hi Deepak,

I think the better place to find an answer to your question is UML2 newgroup.


Best wishes,
Tatiana.

> Hello James,
>
> I am also interested in heavyweight extension of the UML class
> diagram. Mainly, I want to extend the given UML class with a new class
> element with specific features.
>
> Therefore I created a new "Ecore Model" through "Example EMF Model
> Creation Wizards".
>
> Then I did "Load Ressource" and added the
> platform:/plugin/org.eclipse.uml2.uml/model/UML.ecore and searched for
> the suitable class element which I can extend.
>
> Unfortunately, all the UML.ecore elements are readable only. I can't
> add new elements these elements.
>
> My question is how can I make them writeable so that I can enhance the
> UML.ecore for my purpose.
>
> Thanks in advance,
>
> Deepak
>
> James Bruck wrote:
>
>> Hi Fatma,
>>
>> Some replies were given in the eclipse.modeling.mdt.uml2 newsgroup.
>> (When cross posting please include both newsgroups in the "to"
>> section so
>> that all the responses can be seen in both places).
>> I would recommend staying away from middleweight or heavy weight
>> extensions. Try using a profile first.
>> Profiles are not first class extension mechanisms and as a result
>> your
>> new metatypes do not directly specialize existing UML metatypes.
>> Middleweight extensions involve specialization by referencing
>> uml.metamodel.uml, not uml.uml. Heavyweight extensions involve
>> using
>> package merge concepts.
>> A tutorial on how to extend UML was given at EclipseCon2008 (#172).
>> The tutorial will be posted on the UML2 site shortly.
>>
>> Cheers,
>> - James.
>> "Fatma" <fatma.krichen@gmail.com> wrote in message
>> news:8c27259712b3675029dc0f51d7785ca5$1@www.eclipse.org...
>>
>>> Hello,
>>>
>>> i am trying to create an extension in UML2 and appear this extension
>>> to deployment diagram. I have two questions:
>>>
>>> 1. the extension to metamodel may be created as Heavy weight
>>> extension or by adding the new concepts (classes, association) to
>>> "uml.uml" of UML2. Which types of extension is suitable for ny
>>> project?
>>>
>>> 2. How I can extend the "org.eclipse.uml2.diagram.def" plugin by the
>>> new element defined in our meta model ?
>>>
>>> thank you
>>>
Previous Topic:Installation or settings problem
Next Topic:How to represent dependency model with UML2
Goto Forum:
  


Current Time: Fri Apr 26 21:24:05 GMT 2024

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

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

Back to the top