![]() |
![]() |
![]() |
![]() |
![]() |
How Preferences Are Managed
Depending on your needs and how you configure your environment, the SDL Suite and TTCN Suite tools handle preference parameters either as:
- Organization (company) preferences
- Project preferences
- These are parameters that should affect the properties that are specific for a particular project; for instance what make and build options should be used by the Analyzer and Code Generators within the scope of a project. Project preferences can also be regarded as a specialization of the organization preferences, specific for a project.
- User-defined preferences
- Default (factory) settings
Preferences and Dialog Options
The tools allow you to customize a number of options that define the default behavior of a tool, using the Preference Manager (the TTCN Suite specific preferences can be customized as described in Customizing the TTCN Suite (on UNIX)). Some of these preferences may be overridden during the current tool session, by assigning a new value to the option. The option's latest value will then be memorized and reused, where possible.
Example 15 : Print preferences and options.
- Assume that you have assigned the Print preference parameter PrinterCommand the value lpr (i.e. send to printer queue).
- You print from the SDL Editor, change the option Execute to ghostview (i.e. a PostScript previewer) and click Print. Next time you print from the SDL Editor, the Execute option is memorized and reads ghostview (until you terminate the SDL Editor session).
- But, when you print from another tool (the MSC Editor for instance), the Execute option is preset to the preferred value, i.e. lpr.
Preferences and the SDL Suite Diagram Options
The SDL Suite uses your preferred values when you create a new diagram and assign it:
- A width (set with the command Drawing Size)
- A height (set with the command Drawing Size)
- A viewing scale (set with the command Set Scale)
Each individual SDL diagram also stores information about:
- Whether to align symbols and lines to the grid or not
- Whether to check syntax or not when the diagram is edited
- Whether to fix endpoints at frame or not
- Whether to show the Additional Heading symbol only on the first page
- These diagram parameters are set with the SDL Editor command Diagram Options.
Each individual MSC also stores information about:
- Whether to show the instance name or not
- Whether to show the instance kind or not
- Whether to show the instance composition or not
- Whether to show the message name or not
- Whether to show message parameters or not
- These diagram parameters are set with the MSC Editor command Diagram Options.
Each individual OM, SC and HMSC diagram also stores information about:
When you save a diagram, the current diagram parameter values are saved on the diagram file and will be reused next time you open it, overriding the preference parameters.
Preferences and System File Options
The tools use your preferred values when creating new system files (the .sdt files that are managed by the Organizer).
When you save a system file, the parameters that are related to the system are also stored on the system file, overriding the preference parameters:
- The parameters managed by the Set Directories dialog
- The parameters managed by the View Options dialog
- The parameters managed by the Set Scale dialog
- The parameters managed by the Analyze dialog
- The parameters managed by the Make dialog
See Options in the System File for a reference to the contents of a system file and what parameters are stored on it.
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |