Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Jsc on January 24, 2020, 06:14:50 pm

Title: create class with stereotyp
Post by: Jsc on January 24, 2020, 06:14:50 pm
Hi Everyone,

I have a question about creating the class with stereotyp.

I would like to write a add-in, so that i can create a class with a stereotype directly and do not have to create a class firstly and write a stereotype in.
Because in UML model i have to create many classes with different stereotypes. It is more convenient if i can firstly define many types of classes with stereotype in advance.
Is it possible with the using of MDG Technology or other tools to realize this functionality ?

Thanks
Title: Re: create class with stereotyp
Post by: Geert Bellekens on January 24, 2020, 06:24:49 pm
If you define your steroetypes in a UML profile, and deploy that with an MDG, you can simply create stereotyped classed using your own toolbox.

In other words, you can make your own modelling language, exactly like ArchiMate or BPMN

Geert
Title: Re: create class with stereotyp
Post by: Jsc on January 24, 2020, 07:11:46 pm
Thanks Geert,

It is very nice of you!! Thanks a lot.
I finde some related links for MDG Technology like:

https://sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/add_diagram_types.html

https://sparxsystems.com/enterprise_architect_user_guide/14.0/modeling_tools/add_toolboxes.html

Am i on the right track to achieve the goal ?
Title: Re: create class with stereotyp
Post by: Jsc on January 24, 2020, 07:28:46 pm
Hi, i meet another problem and hope for some tipps.

Is it also possible to define attribute/ operation with spezific stereotype with using of MDG

Thanks
Title: Re: create class with stereotyp
Post by: Geert Bellekens on January 24, 2020, 08:14:36 pm
Yes you are on the right track, and yes you can define stereotypes on attributes and operations as well.

Geert