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
    How to set profile stereotypes

  4. Then select a profile in a file chooser.

  5. After importing a profile, you can use Stereotypes that are imported by the profile.
    Adding Stereotypes to SysML Block
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

  1. Open a [Profile Stereotype] tab and select a profile you want to delete.
    Choose a profile to delete

  2. Now click [Delete].
    Deleting a 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, 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 models.

  1. Right-click on a model and select [Add Element] – [Stereotype].
    Adding a Stereotype to SysML Block


  2. A stereotype list appears. Click one from the list or directly type stereotype name.
    Adding Stereotypes to SysML Block
section divider

Managing Stereotype List

Stereotypes you directly typed when you added to models will be included in the Profile. You can add more new stereotypes to the profile or delete ones from [Profile Stereotype] view.

  1. Click on a root package
  2. Choose [Profile Stereotype] tab in the bottom-pane
  3. Click [Add] button if you want to add a new stereotype
    Adding new stereotypes to profile

  4. A window opens. Define its name, definition and upload associated icons if needed.
    Edit Stereotype Information

  5. If this is your first time to add Stereotypes, an “EasyProfile” will be automatically created in Astah System Safety and Stereotypes will be stored in this profile.
    Easy Profile
section divider

Stereotype Icon

Custom Icon in Astah


You can upload image files and let them associate with specific Stereotypes. This allows you to switch the representation of SysML model objects such as Blocks into the uploaded images. This will enhance your diagram presentation.

  1. Select a root package in the tree view and open the [Profile Stereotype] tab in the project’s property view, then click [Add] button.
    Adding new stereotypes to profile


  2. Add Stereotype information and click [Icon] filed and upload image file(s).
    Stereotype Icon in Astah System Safety

  3. Now you can switch the model to the uploaded stereotype icon.
    Select a model in the diagram, click the button which is located in the second from the right, then click [Customized Icon].
    Customized Icon menu in Astah

  4. If the stereotype has more than one associated image, choose one in the window that appears next.
    Selecting Customized Icons

  5. Now the model will be shown in an uploaded image file.
    Diagram with Stereotype Icon