Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: Jayson on November 19, 2021, 12:56:30 pm

Title: Toolbox Stereotype Items
Post by: Jayson on November 19, 2021, 12:56:30 pm
Hey all

As far as I know, when specifying a Stereotype toolbox item, the Stereotype must be specified as:

UMLProfile::StereotypeName(UML::Metatype)

For example:

MyMDG::MyStereotype(UML::Generalization)

Where the toolbox item will create the stereotype MyStereotype specialising the Generalization metatype.

However, if we take a look at the Archimate2 MDG, it has toolbox items of the form:

<Tag name="Archimate2::Archimate_BusinessActor" type="" default="Business Actor" values="" unit="" description=""/>

The (UML::Metatype) portion has been omitted entirely.

What gives?
Can anyone point me to the documentation that says this is ok? And what happens if a stereotype extends more than one metatype?

Cheers

Jays :-)

Title: Re: Toolbox Stereotype Items
Post by: Eve on November 19, 2021, 01:48:25 pm
Yes, that's okay.

If your stereotype extends more than one metatype you will see an icon for stereotype and get prompted for what type of element to use on creation.