Use the StatemateBlock profile for this task.
Procedure
- Open Rational® Rhapsody®.
- Choose to create a Rational Rhapsody project.
Enter the Project name and In folder fields.
- In the Type list of the New Project
window, select the StatemateBlock profile.
- Rename the automatically created diagram
to relate to your project.
- In the diagram, use the Object
icon in the Diagram Tools to
create an object with a name that is appropriate for your project.
- Right-click the object in the diagram and
select Features from the menu.
- In the General tab
of the Features window, select the StatemateBlock class stereotype
for the object and click OK to save the change.
- Right-click the StatemateBlock object and
select Import/Sync Statemate Model.
- In the Import/Sync State Block window, enter
the fields in this order:
- 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 Advanced.
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 topic on Rational Statemate integration
error messages if you receive error messages during this operation.
- Select Statemate Project from
the list in the next field.
- Select Statemate Block from
the list in the next field.
- Select Statemate Workarea from
the list in the next field.
- In the Activation Period (msec) field,
enter the time period between calls to the Rational Statemate Block
execution code.
- 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. For
more information, see the topic on Rational Statemate integration
error messages.