Creating a Rational Rhapsody element for a Rational Statemate model

About this task

In order to create an IBM® Rational® Rhapsody® element for the IBM Rational Statemate® model:

Procedure

  1. Open Rational Rhapsody.
  2. Choose File > New to create a Rational Rhapsody project. Enter the Project name and In folder fields.
  3. In the Type list of the New Project window, select the StatemateBlock profile.
  4. Rename the automatically created diagram to relate to your project.
  5. In the diagram, use the Object icon in the Diagram Tools to create an object with a name that is appropriate for your project.
  6. Right-click the object in the diagram and select Features from the menu.
  7. In the General tab of the Features window, select the StatemateBlock class stereotype for the object and click OK to save the change.
  8. Right-click the StatemateBlock object and select Import/Sync Statemate Model.
  9. In the Import/Sync State Block window, enter the fields in this order:
    1. The default in the Rational Statemate Installation path is the path to your Rational Statemate installation in this format <STM_ROOT>\pm (pm = project management). If the location of the Rational Statemate pm file is not correctly displayed in the default location, click the Advanced button. Then enter the correct path to your Rational Statemate installation in the window. Click OK to save the path information and return to the Import/Sync State Block window.
      Note: This step is important because the path entered here resets all Rational Rhapsody path references to your Rational Statemate system to use this newly entered path as the default Rational Statemate path. See Rational Statemate integration error messages if you receive error messages while performing this operation.
    2. Select Statemate Project from the list in the next field.
    3. Select Statemate Block from the list in the next field.
    4. Select Statemate Workarea from the list in the next field.
    5. In the Activation Period (msec) field, enter the time period between calls to the Rational Statemate Block execution code.
    6. Click Import/Sync to validate the previous selections and perform the import and synchronization operations if the entries are valid. If one or more of the entries contain errors, the system displays a validation error message. See Rational Statemate integration error messages for more information.

Feedback