IBM
Contents Index Previous Next



Converting UML Diagrams


When UML diagrams are to be converted into SDL diagrams, the UML diagrams need to be placed within a module in the Organizer. The diagrams may be either static structure diagrams or state charts. If multiple diagrams exist within the module, all diagrams will be converted at the same time.

To convert UML diagrams in a module:

  1. Select a diagram within the module.
  2. Select the desired conversion alternative from the UML To SDL menu (see below).

The UML2SDL converter will create a new module with the same name as the converted module, but with the prefix "SDL_" added. The new module will contain all the resulting SDL diagrams.

The UML To SDL Menu

The UML To SDL menu in the Organizer contains four alternatives:

Transformation Options

The UML2SDL utility is run as a command-line tool, but is started from the Organizer. If you select an alternative in the UML To SDL menu that allows you to change the transformation options, a dialog is opened in which you may specify the transformation options to UML2SDL:

Figure 350 : Setting transformation options for a package generation

If you select an alternative in the UML To SDL menu that uses the default transformation options, the dialog is not opened and none of the options described below are used.

The UML2SDL utility accepts a set of flags which allow you to configure the transformation:

uml2sdl [ -a | -d | -l | -o | -p | -s ] <module>

http://www.ibm.com/rational
Contents Index Previous Next