Import a profile

You can import profiles to Astah System Safety and use Stereotypes, Tagged values, Multiplicities defined in the profiles. Currently, Astah System Safety can import profiles in OMG XMI 2.5 format.

  1. Click on a root package
  2. Choose [Profile Stereotype] tab in the bottom-pane
  3. Click [Add] button
    Import UML Profiles

  4. Then select a profile in a file chooser.

  5. After importing a profile, you can use Stereotypes that are imported by the profile.
    Select-stereotype-imported-by-UML-profile
section divider

NOTES

Currently, Astah System Safety cannot import the profiles if they:

  • have the same name or URI as the one you already imported or
  • are deviated from CMOF 2.5 specification or
  • have external references than UML meta-models or
  • have duplicated member name in the namespace or
  • are nested
section divider

Deleting a profile

Open a [Profile] tab and choose an imported profile and click [Delete].
Delete Profile

section divider

Reloading a profile

Currently, Astah System Safety cannot update or reload the imported profiles.
So if you have an updated profile, please delete the current one first and import a new one.

section divider

What you can define in profiles

You can define stereotypes and TaggedValue types and multiplicities in the profiles.
Regarding the TaggedValues, you can define singular and primitive types.
Please use Eclipse UMLEditor to create a profile.

section divider

Stereotypes

Adding Stereotypes

You can add Stereotypes to the model elements from the model element’s property view (left-bottom pane of Astah).

  1. Select a model in the diagram
  2. Go to the property view (left-bottom pane) and select [Stereotype] pane and click [Add] button
  3. A window opens where you can choose the Stereotype from. These are the predefined Stereotypes in Astah or ones from the Profiles you imported.
    adding-stereotype
section divider

Creating New Stereotypes

When you want to create new Stereotypes without importing profiles, you can create ones from [Profile Stereotype] tab in the project’s property view.

  1. Click on a root package
  2. Choose [Profile Stereotype] tab in the bottom-pane
  3. Click [Add] button
    Creating Stereotypes
  4. A window opens. Define its name, definition and upload associated icons if needed.
    Edit Stereotype

  5. As you add Stereotypes this way, an “EasyProfile” will be automatically created in Astah System Safety and Stereotypes will be stored in this profile.
    Easy Profile
section divider

Stereotype Icon

Since version 7.0, you are able to upload image files and let them associate with specific Stereotypes.
This allows you to switch the representation of SysML model objects such as Blocks to the uploaded images. This will enhance your diagram presentation.

  1. First, you need to create a Stereotype
  2. Select a root package in the tree view and open the [Profile Stereotype] tab in the project’s property view.
    How to upload stereotype icon

  3. On [Icon] column, click [Select] and upload an image file (gif, jpeg, jpg or png).
    Stereotype Icon

  4. Now select a model in the diagram, click the button which is located in the second from the right, then click [Icon].
    Showing in stereotype icon

  5. Now the model will be shown in stereotype icon.
    Showing-in-stereotype-icon