Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Contents |
Prev | Next |
Create Stereotypes Extending non-UML Objects
A Profile is typically defined by extending core UML object types to create your own modeling language or technology; however, you can also extend non-UML objects defined by another existing technology such as ArchiMate, BPMN, or SysML.
Extending a non-UML object allows inheritance of these properties from the existing stereotype:
- Tagged Values
- Shape Scripts
- Stereotype colors
- Metatype properties
Create a Stereotype extending a non-UML Object
Step |
Description |
See also |
---|---|---|
1 |
In the Project Browser, locate the Package with the <<profile>> Stereotype and open its child diagram. If you do not have an existing <<profile>> Package, use the 'MDG Technology Builder' option in the Model Wizard to create a new technology, then open the diagram from the newly created <<profile>> Package. |
Using the Profile Helpers |
2 |
Drag the 'Metaclass' icon from the 'Profile' page of the Diagram Toolbox onto the diagram. The 'Extend Metaclass' dialog displays. |
Profile Toolbox |
3 |
Select the 'Stereotypes' tab. |
|
4 |
From the drop-down list, select the Profile to extend (for example, 'SysML1.3') and select the checkbox next to the non-UML Stereotype to extend (for example, 'Block'). Click on the . The appropriate Stereotype element is added to the Profile diagram. |
|
5 |
Add a new Stereotype by dragging the 'Add Stereotype Profile Helper' from the Diagram Toolbox. This will be the custom Stereotype that extends the non-UML type added to the diagram in step 4. When you have finished, the Stereotype element and Metaclass element are displayed on the Profile Diagram. |
Add Stereotypes and Metaclasses using Profile Helpers |
6 |
Draw a Generalize connector from the custom Stereotype added in step 5 to the non-UML Stereotype element added in step 4. |
|
7 |
Save the diagram as a Profile. |
Export a Profile |
8 |
Define a Toolbox Profile that has items for each of your Stereotypes. |
Create Toolbox Profiles using the Profile Helpers |
9 |
Incorporate the saved Profiles into an MDG Technology. |
Create MDG Technology File |
Example Stereotype Profile
This example shows a Stereotype Profile which defines the stereotype <<hardwareBlock>>. The <<hardwareBlock>> stereotype is an extension of SysML Block, from the SysML 1.3 MDG Technology.
Notes
Learn more