When you generate code for the configuration, code is also
generated for any actors that are part of the configuration.
Procedure
- Locate the active configuration in the browser.
- Open the Features window for the active
configuration.
- On the Initialization tab,
select Generate Code for Actors.
Results
Alternatively, you can generate code for
the actor by right-clicking on the actor in the use-case diagram and
selecting Generate.