Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Extension UML2
Extension UML2 [message #473400] Tue, 25 March 2008 19:16 Go to next message
Eclipse User
Originally posted by: fatma.krichen.gmail.com

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: Extension UML2 [message #473498 is a reply to message #473400] Fri, 28 March 2008 13:36 Go to previous messageGo to next message
james bruck is currently offline james bruck
Messages: 1724
Registered: July 2009
Senior Member
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: Extension UML2 [message #473501 is a reply to message #473498] Fri, 28 March 2008 22:18 Go to previous messageGo to next message
Eclipse User
Originally posted by: fatma.krichen.gmail.com

Hi James,

Thank you for your response.

I successfully create the UML static profile, but I can’t create the
editor diagram (GMF project) from the defined profile.

Could you please help me?

Fatma
RE: Re: Extension UML2 [message #473504 is a reply to message #473498] Tue, 01 April 2008 16:53 Go to previous messageGo to next message
Deepak is currently offline Deepak
Messages: 53
Registered: July 2009
Member
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 #473509 is a reply to message #473504] Wed, 02 April 2008 09:59 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana Fesenko
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
>>>
Re: Extension UML2 [message #473510 is a reply to message #473504] Wed, 02 April 2008 12:04 Go to previous messageGo to next message
Eclipse User
Originally posted by: fatma.krichen.gmail.com

Hi Deepak,

you must begin by creation of new UML model through "Example EMF Model
Creation Wizards", then you can create your file ecore et genmodel by
"EMFModel" through "EMF Model Creation Wizards"

Cheers,
Fatma
Re: Extension UML2 [message #473511 is a reply to message #473510] Wed, 02 April 2008 12:06 Go to previous messageGo to next message
Eclipse User
Originally posted by: fatma.krichen.gmail.com

Hi Deepak,

you must begin by creation of new UML model through "Example EMF Model
Creation Wizards", then you can create your file ecore and genmodel by
"EMFModel" through "EMF Model Creation Wizards"

Cheers,
Fatma
Re: Re: Extension UML2 [message #473512 is a reply to message #473509] Wed, 02 April 2008 13:25 Go to previous message
james bruck is currently offline james bruck
Messages: 1724
Registered: July 2009
Senior Member
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: Extension UML2 [message #618649 is a reply to message #473400] Fri, 28 March 2008 13:36 Go to previous message
james bruck is currently offline james bruck
Messages: 1724
Registered: July 2009
Senior Member
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: Extension UML2 [message #618652 is a reply to message #473498] Fri, 28 March 2008 22:18 Go to previous message
Eclipse User
Originally posted by: fatma.krichen.gmail.com

Hi James,

Thank you for your response.

I successfully create the UML static profile, but I can’t create the
editor diagram (GMF project) from the defined profile.

Could you please help me?

Fatma
RE: Re: Extension UML2 [message #618655 is a reply to message #473498] Tue, 01 April 2008 16:53 Go to previous message
Deepak is currently offline Deepak
Messages: 53
Registered: July 2009
Member
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 #619649 is a reply to message #473504] Wed, 02 April 2008 09:59 Go to previous message
Tatiana Fesenko is currently offline Tatiana Fesenko
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
>>>
Re: Extension UML2 [message #619650 is a reply to message #473504] Wed, 02 April 2008 12:04 Go to previous message
Eclipse User
Originally posted by: fatma.krichen.gmail.com

Hi Deepak,

you must begin by creation of new UML model through "Example EMF Model
Creation Wizards", then you can create your file ecore et genmodel by
"EMFModel" through "EMF Model Creation Wizards"

Cheers,
Fatma
Re: Extension UML2 [message #619651 is a reply to message #473510] Wed, 02 April 2008 12:06 Go to previous message
Eclipse User
Originally posted by: fatma.krichen.gmail.com

Hi Deepak,

you must begin by creation of new UML model through "Example EMF Model
Creation Wizards", then you can create your file ecore and genmodel by
"EMFModel" through "EMF Model Creation Wizards"

Cheers,
Fatma
Re: Re: Extension UML2 [message #619652 is a reply to message #473509] Wed, 02 April 2008 13:25 Go to previous message
james bruck is currently offline james bruck
Messages: 1724
Registered: July 2009
Senior Member
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
>>>>
>
>
Previous Topic:UML extension and visualisation
Next Topic:inner (nested) classes
Goto Forum:
  


Current Time: Sun Sep 21 04:07:29 GMT 2014

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

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