Before exporting Rational Statemate elements to a module in Rational DOORS, perform the following preliminary tasks:
● Create a module in the RT Interface.
● Choose which elements to export by selecting Operation Scope on the toolbar on the Rational Statemate main window or the RT Interface.To create a module to export to DOORS:
1.
Note: When you select DOORS I/F, a warning splash screen displays, which can be ignored. Click OK to delete the splash screen.
2.
4. Click OK to confirm. The module name displays at the top of the Module box in the RT Interface window in negative relief, and the element type radio buttons on the right become active, as shown in the following figure.
1. Select the module to export. The module goes into negative relief, and the radio buttons on the right became active.
Note: The active module for element type selection is always in negative relief, which enables you to set up and export multiple modules in one operation.
2. Select the element types to export (next to the base chart type), for example, Activity Chart or Statechart.
3.
4. To export textual elements, select the Textual tab and select whatever textual elements you want to export. Similarly, if certain supporting files are required, select the Files tab and select the necessary file elements.To choose which elements to export, set the Operation Scope on the Charts or Files tab to one of the following:
● WAB Selection Only
This setting requires the user to highlight elements in the Charts or Files tab of the Rational Statemate main window to limit the files to be exported.To define how elements are to be exported, select one of the following buttons:
● Synchronize Links - When linkset modules are defined, creates or updates the links between Rational Statemate elements. For more information, see Configuring Linksets for Export.
● Synchronize Model-Data - forces the Rational DOORS module to update.
● Dive into Generics - exports instances of any generic chart, if selected; otherwise the generic chart is seen in the module as a separate element.
● With Descendants - exports only particular branches of a tree in the hierarchy of the charts on the Charts tab of the Rational Statemate main window. It is used in conjunction with the WAB Selection Only button.
● Create Missing Modules - creates new modules, if the target modules do not yet exist. It is generally used only on the first instance of an export to a module.
● Delete elements not in current scope - clears the Rational DOORS module of fully defined textual elements that are outside the current export scope.
Note: Do not use this button unless you are sure what data elements will be removed from the DOORS module.
● Export Instance Offpage Boxes - The DOORS interface option “Export Instance Offpage Boxes” controls the export of offpage instance boxes. By default, that option is set and all offpage instance boxes are exported.
When that option is not set the following behavior occurs:
●
●
●
Statecharts that see a Control Activity with siblings have in their “objectInfo” field the value: “@Controlling Statechart” (instead of the instance).
●
Statecharts that see a Control Activity without siblings have in their “objectInfo” field the value: “@Statechart” (instead of the instance).
●
Flowcharts that see a Control Activity with siblings have in their “objectInfo” field the value: “@Controlling Flowchart.”
●
Flowcharts that see a Control Activity without siblings have in their “objectInfo” field the value: “@Flowchart.”