This chapter describes the principles for the management of preference parameters in a Telelogic Tau environment. It also describes how to use the Preference Manager to customize the Telelogic Tau installation.
For a reference to the Preference Manager and the preference parameters, see The Preference Manager.
Different users are likely to use Telelogic Tau in different ways. Even the same user may use the tools differently in different work areas. The Preference Manager allows you to customize the default behavior of the Telelogic Tau tools in order to minimize the number of operations that you have to perform manually after having started a tool.
The Preference Manager allows you to set up the default behavior for the following tools:
Note: The Preference Manager only handles the ORCA and SDT specific tools, and the common Telelogic Tau tools. The behavior of the ITEX-specific tools cannot be changed by these preferences. For more information, see Customizing ITEX (on UNIX). |
The Preference Manager also allows you to specify the printer setup, the headers, and the footers that are used when you print documents.
Preferences may be customized for an individual user or may apply to an entire project or even organization that uses the Telelogic Tau tools.
Depending on your needs and how you configure your environment, the Telelogic Tau tools handle preference parameters either as:
Figure 78 : The user's view of the preference parameters
|
The Telelogic Tau tools allow you to customize a number of options that define the default behavior of a tool, using the Preference Manager (the ITEX specific preferences can be customized as described in Customizing ITEX (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.
lpr
(i.e. send to printer queue).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).lpr
.ORCA and SDT use your preferred values when you create a new diagram and assign it:
Each individual SDL diagram also stores information about:
Each individual MSC also stores information about:
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.
The Telelogic Tau 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:
See Options in the System File for a reference to the contents of a system file and what parameters are stored on it.
To start the Preference Manager:
Figure 79 : The Preference Manager window
|
To modify a preference parameter:
Note: You have the possibility to revert any parameter to its saved value or default value, using the Set Saved Value / Set Default Value command. |
|
|
To edit a textual value, simply place the cursor on the text field and enter the text of your choice. No control of what is entered takes place.
|
|
Click on to turn an option on.
|
|
Drag the slider for a coarse adjustment or click the slider bar for a fine adjustment.
|
|
Clicking on the button brings up a pop-up menu where all permissible values are listed. Select the value of your choice.
|
|
You may select the preference parameter from a number of predefined values, available on an option menu (see above). As an alternative, you may type in the value into the text field, which grants access to not predefined values.
|
|
You must select the font by clicking the folder button, which opens a Microsoft Windows Font dialog. It is not possible to edit the text field to the left of the folder button.
In the font dialog, all TrueType fonts in the system are listed. It is also possible to select font style and size, but these values have no effect. Only the specified font name is used.
|
|
You may assign the preference parameter any file name, entered as a text string into the text field.
In Telelogic Tau, you can request on-line help by selecting a menu choice in a Help menu, a pop-up menu or by clicking a Help button in a dialog. For more information about Help menu choices, see Help Menu.
To be able to view the on-line help, you need to have one of the following HTML-viewers installed:
Also, you have to make sure that the on-line help files (in HTML-format) have been installed.
In the on-line help, you can also find information about how to use it.
|
|
Note: The command must be available via your PATH variable. The Telelogic Tau Help Viewer is included in the Telelogic Tau distribution and does not have a start command preference. |
C:\tau35\help
in Windows and appl/telelogic/help/
on UNIX). help
directory and its subdirectories (available in the local installation directory, by default C:\tau35
) to the network server area. This step may already have been performed on your computer system, so check where the on-line help files are stored.When you request on-line help from Telelogic Tau, the Postmaster supervises the communication. On a heavily loaded computer system, the help viewer may fail to respond within the time limit specified by the environment variable
STARTTIMEOUT. When this occurs on UNIX, a message is appended to the console window. The environment variable should be adjusted to a higher value to match the typical response times for the computer system where Telelogic Tau and the help viewer are running.
To preserve the modifications for the future Telelogic Tau tools sessions, you must save the preference settings. The preferences are saved on a preference file denoted by $HOME/.sdtpref
(on UNIX), or %HOME%\sdt.ini
(in Windows).
Note: In Windows: If the environment variable |
Whenever you require to save a company or project preference (and thus customize it as your personal preference), you need to confirm the operation by clicking Save in the following dialog:
Figure 80 : Confirming to modify a project or organization parameter
|
The reason for this is that a parameter which is defined at the company or project level should not be possible to modify inadvertently by any individual user of the Telelogic Tau tools.
The Telelogic Tau tools allows you to remove a preference parameter from your personal settings, in which case you will revert to the project or company preferences (or the default settings, if no project or company preferences are defined).
To revert a user-defined preference parameter, you must remove it from your preference file. The Telelogic Tau tools can do this for you:
|
The Telelogic Tau installation may contains a file with all Preference parameters, along with their default values. The file is identified as $telelogic/.sdtpref
(on UNIX), or sdt.ini
(in Windows), and resides in the installation directory of the Telelogic Tau tools.
This file is also referred to as the company / organization preference file. In Windows, to be meaningful in a multi-user environment, the company preference file should be stored on a network drive (and, of course, all Telelogic Tau users should have read access to this file).
To customize the company's preferences, do as follows:
$telelogic
. Start the Telelogic Tau tools. $HOME/.sdtpref
(on UNIX), or %HOME%\sdt.ini
(in Windows))
The ITEX specific preferences and their default values on UNIX are described in How Resources Are Read.
It is possible to customize the default preferences by defining a so called project preference file. The values defined here will supersede the company preferences.
To create a preference file that will be used by a specific project, perform the following steps:
On UNIX: In a suitable file that all project members should source, insert the following statement:setenv SDTPREF <directory>
In Windows 95, insert the following in a suitable batch file that each project member runs at start-up (e.g. AUTOEXEC.BAT
):set SDTPREF <directory>
SDTPREF
environment variable to <directory>
<directory>
denotes the project directory. Failing to do this will cause the Telelogic Tau tools to ignore the project preferences and to use company preferences instead.$HOME/.sdtpref
(on UNIX), or %HOME%\sdt.ini
(in Windows)).
To obtain information about the preference sources that are currently used (i.e. the directories and files that contain the company, project and user-defined preferences):
Figure 82 : The message with information about preference sources
|