ibm Rational Rhapsody 7.5 — Initialization tab

Component configurations in the browser Initialization tab The Initialization tab allows you to specify which instances to initialize and whether to generate code for actors. Љ Initial instances adds code to the main program to instantiate only those packages, classes, and actors that you specify. The possible values are as follows: Explicit instantiates only the selected elements. Derived instantiates the selected elements and any others to which these are related, either directly or indirectly. For example, if class A is selected, and class B is related to A, B is added to the derived scope. If C is related to B , C is also added to the derived scope, and so on.

Two elements are related if there is a dependency or relation between them, use types of the other element, or use events defined in the other element. Љ Generate Code For Actors generates code for the actors specified in the Initial Instances box. See Generating Code for Actors for more information about this feature. Љ Initialization code where you type any user code you want to use to instantiate initial instances or to initialize any other elements. This code is added to the main program after any automatically generated initialization code and before the main program loop. Rational Rhapsody 863