How to generate code for Activity Diagrams in IBM Rational Rhapsody

Technote (FAQ)


Question

How do you generate code for Activity Diagrams in IBM Rational Rhapsody?

Answer

Uncheck the "Analysis Only" option from Diagram Properties/Features to be able to generate code for Activity Diagrams.

Properties Window:

Instructions:

  1. To create an Activity Diagram in a new Project, right mouse click on a Package and go to "Diagrams > Activity".

2. Right click on Activity and select the Activity Diagram Features dialog. "Analysis Only" option is in the General Tab. Uncheck the option if its already set.

3. Add new model elements and generate code. The code will be generated for the elements in the diagram.

Note: Marking the diagram to be a "Analysis Only" type implies the Diagram is only for analysis purpose and hence no code generation.


Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Rhapsody
General Information

Software version:

7.5.1

Operating system(s):

Windows

Reference #:

1427283

Modified date:

2011-01-20

Translate my page

Machine Translation

Content navigation