Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Let's begin by creating a customization of the Company stereotype.  Using the Specification dialog, select Tag Definitions and create some attributes for the Company.  If you apply the Company stereotype to an Element, those attributes you have just created will not be visible in the Element that you have just applied the stereotype to.  However, if you create a Customization for the Company stereotype, the attributes will now be visible in the Specification dialog of the Element that the Company stereotype has been applied to.

 

Creating a new diagram type (important step)

Your meta-model doesn't actually work too well unless you assign it to a diagram type of its own, this is done through the following steps

  1. Specify Diagram Type and Icon
  2. Specify Modules
  3. Specify Toolbars
  4. Specify Toolbar Buttons
  5. Specify Symbol Properties
  6. Specify Smart Manipulators

This information is summarised below but detailed in the "MagicDraw UML Profiling & DSL USer Guide.pdf"