Home » Modeling » UML2 » RE: Re: Extension UML2
RE: Re: Extension UML2 [message #477170] |
Wed, 02 April 2008 05:59  |
Eclipse User |
|
|
|
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
>>>
|
|
|
Re: Re: Extension UML2 [message #477174 is a reply to message #477170] |
Wed, 02 April 2008 09:25  |
Eclipse User |
|
|
|
Hi Tatiana, Deepak.
To figure out the extension mechanisms, try the following ...
Go to this link :
https://eclipsecon.greenmeetingsystems.com/submissions/view/ 172
Then, look at the comments at the end.
It will point you to an update site..
Add the following Update Site URL to your Update Manager:
http://download.eclipse.org/modeling/mdt/updates/EclipseCon2 008-UML-Tutorial/
That will provide step by step instructions with a cheat sheet etc. The
presentation material will provide background theory on the ins and outs of
extending UML.
Cheers,
- James.
"Tatiana Fesenko" <tatiana.fesenko@borland.com> wrote in message
news:6785c52641c28ca62d01a680e4c@news.eclipse.org...
> 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
>>>>
>
>
|
|
|
Re: Re: Extension UML2 [message #626334 is a reply to message #477170] |
Wed, 02 April 2008 09:25  |
Eclipse User |
|
|
|
Hi Tatiana, Deepak.
To figure out the extension mechanisms, try the following ...
Go to this link :
https://eclipsecon.greenmeetingsystems.com/submissions/view/ 172
Then, look at the comments at the end.
It will point you to an update site..
Add the following Update Site URL to your Update Manager:
http://download.eclipse.org/modeling/mdt/updates/EclipseCon2 008-UML-Tutorial/
That will provide step by step instructions with a cheat sheet etc. The
presentation material will provide background theory on the ins and outs of
extending UML.
Cheers,
- James.
"Tatiana Fesenko" <tatiana.fesenko@borland.com> wrote in message
news:6785c52641c28ca62d01a680e4c@news.eclipse.org...
> 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
>>>>
>
>
|
|
|
Goto Forum:
Current Time: Fri Aug 29 17:20:20 EDT 2025
Powered by FUDForum. Page generated in 0.05942 seconds
|