There are several ways to invoke an operation in the Organizer. An operation is usually available in the menu bar and in at least one pop-up menu. Menus can be operated via the keyboard (keyboard navigation). Several operations are also available in the tool bar or via keyboard accelerators. For instance, the Print operation can be invoked by:
<Alt+F> P
) <Ctrl+P>
.The sections below are Pop-Up Menus, Keyboard Accelerators and Quick Buttons.
This section describes pop-up menus for different types of icons. The operations available depend on the type of file that icon represents.
The following tables lists the menu choices in the pop-up menus and a reference to the corresponding menu choice in the menu bar.
|
|
Set Directories |
|
Edit > Edit |
|
Edit > Remove |
|
Edit > Connect |
|
Edit > Disconnect |
|
Edit > CM Group |
|
Edit > Associate |
|
Edit > Update Headings |
|
View > Expand |
|
View > Expand Substructure |
|
View > Collapse |
|
View > Show Sub Symbols |
|
View > Hide |
|
Generate > Analyze |
|
Generate > Make |
|
Generate > Stop Analyze/Make |
|
Generate > Generate SDL Overview |
|
Generate > Convert to PR |
|
Generate > Convert to GR |
|
Generate > Edit Separation |
|
Generate > Dependencies |
|
Search |
|
Diff |
|
Create Endpoint |
|
Traverse Link |
|
Clear Endpoint |
|
Type Viewer |
(On SDL type diagrams only) |
|
|
Set Directories |
|
Edit > Edit |
|
Edit > Remove |
|
Edit > Connect |
|
Edit > Disconnect |
|
Edit > CM Group |
|
Edit > Associate |
|
Hide |
|
Dependencies |
|
Search |
|
Create Endpoint |
|
Traverse Link |
|
Clear Endpoint |
Edit |
Edit. |
Type Viewer |
SDL > Type Viewer. Opens the Type Viewer with the diagram selected. |
Hide |
|
|
Edit |
Edit. |
Hide |
Associations have the same pop-up menu as the associated document. All menu choices operate on the associated document, except Hide and Remove that operate on the association symbol itself.
|
|
Edit |
|
Remove |
|
CM Group |
|
View > Expand |
|
View > Expand Substructure |
|
View > Collapse |
|
View > Show Sub Symbols |
|
Search |
|
Diff |
|
|
Edit |
|
Remove |
|
CM Group |
|
Search |
|
Diff |
Show Sub Symbols |
CM Group |
Link Manager |
Set Directories |
Expand Substructure |
|
Collapse |
|
View Options |
|
Set Scale |
|
File > New |
|
File > Open |
|
File > Save |
|
File > Save As |
|
File > Print |
|
File > Set Directories |
|
File > PC Drives |
|
File > Compare System |
|
File > Import SDL |
|
File > Exit |
|
Edit > Add New |
|
Edit > Add Existing |
|
Edit > Paste As |
|
Edit > Go to Source |
|
Convert to GR |
|
Tools > Organizer Log |
|
Tools > Link Manager |
|
Tools > Search |
|
Tools > Diff |
|
Tools > Type Viewer |
|
Tools > Coverage Viewer |
|
Tools > Index Viewer |
|
Tools > Simulator UI |
|
Tools > Validator UI |
|
Tools > Cmicro Tester UI |
|
Tools > Preference Manager |
|
Editors > MSC Editor |
|
Editors > HMSC Editor |
|
Editors > OM Editor |
|
Editors > State Chart Editor |
|
Editors > SDL Editor |
|
Editors > Text Editor |
|
Editors > TTCN Browser |
|
Help > On ORCA and SDT Help > On ITEX Help > On Organizer Help > On ORCA and SDT News Help > On ITEX News Help > On Shortcuts Help > Index Help > Search Help > Telelogic Home Page Help > Help Desk Help > About Organizer |
For more information about Help menu choices, see Help Menu. |
Help > License Information |
Apart from the general keyboard accelerators, as described in Keyboard Accelerators, the following accelerators can be used in the Organizer:
Accelerator | Reference to corresponding command or quick button |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Toggles between Analyze/Make (default) and Full Analyze/Full Make. A text is presented in the message area to confirm that |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Remove. For documents that can not be removed (non-root SDL diagrams), see Disconnect. |
|
Select the symbol one step up (move the selection) |
|
|
|
Place the selected symbol first in the Organizer structure. |
|
Select the symbol one step down (move the selection) |
|
|
|
Place the selected symbol last in the Organizer structure. |
The following quick buttons are special to the Organizer's Main window. The general quick buttons are described in General Quick-Buttons. Each quick button in the Organizer has a preference parameter that specifies if the button is shown or hidden; see Organizer Preferences. As default, all quick buttons except New and Add Existing are shown.
|
New
Creates a new system; see New. |
|
Save
Performs a silent Save All of all diagrams including the system file. Does not bring up the Save dialog, except if diagrams are modified and unconnected, or no system file exists. Corresponds to the Save All button in the Save dialog; see Save. |
|
Print
Brings up the Print dialog, see Printing Documents and Diagrams. |
|
Analyze
Analyzes the part of the system defined by the selected diagram or the whole system. Brings up a Save Before dialog if any diagram is modified and not saved. Does not bring up the Analyze dialog. Corresponds to the Analyze button in the Analyze dialog. The current Analyze options are used. The same restrictions and checks apply as described in Analyze. |
|
Make
Makes the part of the system defined by the selected diagram or the whole system, i.e. generates code, compiles and links it. Does not bring up the Make dialog. Corresponds to the Make button in the Make dialog. The current Analyze and Make options are used. The same restrictions and checks apply as described in Make. |
|
Generate SDL Overview
Generates an SDL overview diagram for the selected diagram or the whole system. Does not bring up the SDL Overview dialog. Corresponds to the Generate button in the Generate SDL Overview dialog. The current Generate SDL Overview options are used. The same restrictions and checks apply as described in SDL Overview. |
|
Simulate
Generates a simulator for the part of the system defined by the selected diagram or the whole system, and starts a Simulator UI (see Simulator/Validator UI Started from Quick Buttons). Does not bring up the Make dialog if the simulator needs to be regenerated. If a simulation kernel has not been selected in this dialog, the default simulation kernel is used. The default simulation kernel is determined by the preference Organizer* DefaultSimulator. The default value is "SCTADEBCOM" which is the same as using the standard kernel Simulation in the Make dialog. The same restrictions and checks apply as described in Make. |
|
Validate
Generates a validator for the part of the system defined by the selected diagram or the whole system, and starts a Validator UI (see Simulator/Validator UI Started from Quick Buttons). Does not bring up the Make dialog if the validator needs to be regenerated. If a validation kernel has not been selected in this dialog, the default validation kernel is used. The default validation kernel is determined by the preference Organizer* DefaultValidator. The default value is "SCTAVALIDATOR" which is the same as using the standard kernel Validation in the Make dialog. The same restrictions and checks apply as described in Make. |
|
Generate Cross References
Generates a cross reference file for the current system and presents the information in the Index Viewer. An index symbol is added in the Organizer view. Does not bring up the Analyze dialog. Corresponds to setting the Generate a cross reference file option in this dialog. The same restrictions and checks apply as described in Analyze and Semantic analysis. |
|
Add New
Adds a new document as root; see Add New. |
|
Add Existing
Adds an existing document as root; see Add Existing. |
|
Move Down
Moves the selected symbol one step down in the Organizer structure. For more information about moving symbols, see Ordering. |
|
Move Up
Moves the selected symbol one step up in the Organizer structure. For more information about moving symbols, see Ordering. |
|
Organizer Log
Opens the Organizer Log window; see Organizer Log. |
When the Simulate quick button is used and if the generated simulator already was loaded in a Simulator UI, the same Simulator UI will be reused for the newly generated simulator. If no Simulator UI is active, a new Simulator UI will be started. However, if there already are other started Simulator UI's, the user has the choice of selecting one of these to load the generated simulator in.
The following dialog is opened:
Figure 63 : The Simulator/Validator dialog
|
The same applies also for a validator and the Validator UI.
The Organizer log window is a sub window to the main window. It works as a console for the Telelogic Tau tools. The window can be visible (raised or iconified) or not visible on the screen. All log information is output to this window independently of whether the window is visible or not.
The window is used in the following situations:
The window is opened or raised when the menu choice Organizer Log is selected from the Tools menu, or when something is written to the log. The preference ShowLogLevel controls which output to the window should cause a raise of the window (see The Preference Manager).
There is only one Organizer Log window. The Organizer main window is not locked for user input when the Organizer Log window is visible.
Figure 64 : The Organizer Log window
|
The following quick buttons are special to the Organizer Log window. The general quick buttons are described in General Quick-Buttons. Each quick button in the Organizer Log window has a preference parameter that specifies if the button is shown or hidden; see Organizer Preferences. All quick buttons in the Organizer Log are shown by default.
|
Close
Exactly the same as Close in the File menu. |
|
Clear Log
Exactly the same as Clear Log in the Edit menu; see Clear Log. |
|
Show Error
Exactly the same as Show Error in the View menu; see Show Error. |
|
Help on Error
Exactly the same as Help on Error in the View menu; see Help on Error. |
|
Analyze
Exactly the same as the Analyze quick button in the Organizer Main window; see Analyze. |
|
Show Organizer
Exactly the same as Show Organizer in the Tools menu; see Show Organizer. |
See File Menu.
The following menu choices are available in the Organizer log window Edit menu:
This menu choice copies the selected text to the clipboard buffer.
This menu choice selects all text in the Organizer Log window.
This menu choice clears all text in the Organizer Log window.
The following menu choices are available in the Tools menu of the Organizer log window:
This menu choice raises the Organizer's Main window.
This menu choice opens an editor and shows an object/text that corresponds to a selected error/warning. If no text in the log is selected, the menu choice operates on the first error/warning in the log, which becomes selected. If this menu choice is invoked several times without changing the selection manually, the selection is updated automatically to point to the next error/warning before opening the editor and selecting the corresponding object/text.
This menu choice activates the Help tool on the selected error/warning or the next found error/warning. The selection is not updated automatically when selecting this command repeated times (as opposed to Show Error, above).
The Organizer maintains a system file that contains a description of all files that are included in the system, together with all settings the user has made to this particular system. The default file suffix for a system file is .sdt
.
In addition, a system window state file contains information about window positions and sizes, and it uses the suffix .sdt.state
.
The contents of the system file summarizes the information that the Organizer manages:
The system file may contain a mapping of directory paths on Windows and UNIX to allow the system to be accessed on both platforms. See Windows and UNIX File Compatibility for more information.
A number of options are also stored in the system file, but only if they differ from the values in the preference file or if the preference Organizer* AllPreferences is on. The options are:
In addition, information about collapsed, hidden and selected documents are saved to enable the Organizer to open with the same appearance as when the system file was saved. However, simply changing which documents are collapsed, hidden and selected will not mark the system file as "dirty" in the Organizer.
The system file is a line-oriented, human-readable text file. The system file is divided into sections. Each section contains lines formatted in the same way. Any lines before the first section are ignored, but saved for the next system file save. This means that it is possible to have user defined comments in the beginning of the file.
The file has the following format:
<file> ::= <comments> SDT-SYSTEM-3.5 (<drives> | $) (<dir> | $) (<links> | $) (<diagram> | $) (<view> | $) (<analys> | $) (<make> | $) (print | $) <comments> ::= <comment>* <comment> ::= Any line of ASCII characters not beginning with "SDT-SYSTEM-". <drives> ::= [DRIVES] <drive>* <drive> ::= <Windows dir> <UNIX dir> <dir> ::= [SOURCE-TARGET-DIRECTORY] <option>* <links> ::= [LINKS] <option>* <diagram> ::= [DIAGRAMS] <dia>* <dia> ::= <indent> <type> <name> (<path> | <fileName> | %unconnected%) <viewState> <timeStamp> <separateName> <associations> <dependencies> <view> ::= [VIEWOPTIONS] <option>* <analys> ::= [ANALYSEROPTIONS] <option>* <make> ::= [MAKEOPTIONS] <option>* <print> ::= [PRINTOPTIONS] <option>* <Windows dir> ::= <string>An Windows path. This is either a drive letter and a colon (e.g.
C:
) or a full path (e.g. C:\SDL
). UNC paths can be used (e.g. \\MYHOST\SDL
). If you include a trailing backslash you must also include a trailing slash in the corresponding <UNIX dir>
.<UNIX dir> ::= <string>A UNIX directory path corresponding to the
<Windows dir>
. If you include a trailing slash you must also include a trailing backslash in the corresponding <Windows dir>
.<indent> ::= <int>The indentation level. 0 is root, -1 is used for chapters.
<type> ::= <int>Type of document, module or chapter. If the diagram has some kind of virtuality, the value is factored with a number with the base 100. The value corresponds to the kind of virtuality. These numbers correspond to an enumerated value found in the file
sdt.h
. If the diagram is an instance, a value of 1000 will be added to the type.<name> ::= <string>Logical name of diagram or document.
<path> ::= <string>File path including a directory.
<fileName> ::= <string>File name.
<viewState> ::= <integer>Viewing state, consisting of four weighted booleans for separation, expanded, shown and selected states:
<timeStamp> ::= <integer>Last time the file was modified, and that the Organizer was aware of. When the Organizer reads the system file, only files with modification dates later than the time stamp are checked for correctness.
<separateName> ::= <string>Name of separation. Only applicable for units that are separately analyzed.
<associations> ::= <string>A string of space separated values referencing associated documents, e.g. "1 4 5". The values index documents in the DIAGRAMS section.
<dependencies> ::= <string>A string of space separated values referencing documents that this document is depending on, e.g. "1 4 5". The values index documents in the DIAGRAMS section.
<option> ::= (<option-name> = <option-value>) <option-name> ::= <string>Any option found in the named dialogs.
<option-value> ::= <string>Any valid value bound to an option.
If a section is missing entirely from the system file, a warning will be logged. If no recognizable sections could be found, the file is not a valid system file.
When loading system files, warnings will be registered in the Organizer Log window if any non-recognized option is encountered, but not if an option never was initialized.
The purpose of the DRIVES
section in the system file is to achieve file compatibility between UNIX and Windows systems. It specifies the drive table; a mapping between Windows and UNIX directory paths. See Windows and UNIX File Compatibility for more information.
The path format of the current platform is used for directory paths stored in the system file: UNIX path names on UNIX systems (i.e. starting with a slash `/' and directories separated by slashes), and Windows path names on Windows systems (i.e. starting with a drive letter "x:" and directories separated by backslashes `\', or using the UNC format "\\<host>\file").
Diagrams with file specifications in an incorrect format are marked as Invalid in the Organizer.
When reading the system file on Windows systems, file specifications in UNIX format are converted to Windows format using the mapping in the DRIVES
section, if possible, including converting slashes to backslashes. When the system file is saved, the file specifications are saved in Windows format, i.e. they are not converted back to UNIX format.
On UNIX systems, file specifications in Windows format are converted to UNIX format using the mapping in the DRIVES
section, if possible, including converting backslashes to slashes. When the system file is saved, the file specifications are saved in UNIX format, i.e. they are not converted back to Windows format.
The DRIVES
section of the system file looks like this:
[DRIVES] C:\TEMP /tmp \\MYHOST\STORAGE /home/user
The file specification /tmp/a.ssy
in the system file is converted to C:\TEMP\a.ssy
.
The file specification /home/user/mydir/a.ssy
is converted to
.
\\MYHOST\STORAGE\mydir\a.ssy
The file specification /usr/local/dir/a.ssy
is converted to \usr\local\dir\a.ssy
. Since no drive or host name could be matched, the file will not be found and the diagram will be marked as Invalid in the Organizer.
A number of sections contain options for the Organizer, representing values that can be set in the Organizer dialogs. If an option in the file is not recognized by the Organizer, it will be ignored, and if an option is not included in the file, a default preference value will be used. A few of the options have no corresponding preference parameters.
The following tables list the Organizer options that are saved in the system file. The user should not normally need to know or change these options in the system file. However, when running SDT in batch mode on UNIX, it may be useful to change some options by editing a system file to be submitted as input to sdtbatch
. See SDT Batch Facilities for more information.
The options must appear in the correct section of the system file, but the ordering of options within a section is not important. The options are stored in the system file according to the format:
NameOfOption=Value
The option names and option values are case insensitive.
Possible and allowed values are not specified; the user should run the Preference Manager in order to obtain a reference to the permitted values.
Option | Default | Corresponding Preference |
---|---|---|
AbsolutePath |
false |
Organizer* AbsolutePath |
SourceDirectory |
"" |
Organizer* SourceDirectory |
TargetDirectory |
"" |
Organizer* TargetDirectory |
Option | Default | Corresponding Preference |
---|---|---|
Scale |
100 |
SDT* Scale |
ShowDashed |
true |
Organizer* ShowDashed |
ShowDependencies |
true |
Organizer* ShowDependencies |
ShowDirectories |
true |
Organizer* ShowDirectories |
ShowFileNames |
true |
Organizer* ShowFileName |
ShowGroups |
true |
Organizer* ShowGroups |
ShowInstances |
true |
Organizer* ShowInstances |
ShowLinkFile |
false |
Organizer* ShowLinkFile |
ShowLinks |
true |
Organizer* ShowLinks |
ShowLongMenus |
true |
Organizer* ShowLongMenus |
ShowPages |
false |
Organizer* ShowPages |
ShowPermissions |
true |
Organizer* ShowPermissions |
ShowSeparators |
true |
Organizer* ShowSeparators |
ShowStatusBar |
true |
Organizer* Statusbar |
ShowSystemFile |
true |
Organizer* ShowSystemFile |
ShowToolBar |
true |
Organizer* Toolbar |
ShowTypeName |
false |
Organizer* ShowTypeName |
ShowVirtuality |
true |
Organizer* ShowVirtuality |
TreeRepresentation |
List |
Organizer* TreeRepresentation |
Option | Default | Corresponding Preference |
---|---|---|
AllowImplicitTypeConv |
off |
Organizer* AllowImplicitTypeConv |
EchoAnalyzerCommands |
off |
Organizer* EchoAnalyzerCommands |
ErrorLimit |
30 |
Organizer* ErrorLimit |
ExpandPR |
false |
Organizer* ExpandPR |
ExpressionLimit |
0 |
Organizer* ExpressionLimit |
Filter |
false |
Organizer* FilterCommand |
FilterCommand |
"" |
Organizer* FilterCommand |
H2SDLOptions |
"" |
Not available |
MacroExpansion |
false |
Organizer* MacroExpansion |
OptionalParamControl |
true |
Organizer* OptionalParamControl |
OutputControl |
true |
Organizer* OutputControl |
ReferenceControl |
true |
Organizer* ReferenceControl |
SemanticControl |
true |
Organizer* SemanticControl |
SyntaxControl |
true |
Organizer* SyntaxControl |
TerminateAnalyzer |
off |
Organizer* TerminateAnalyzer |
TrailingParamControl |
true |
Organizer* TrailingParamControl |
UpperCase |
false |
Organizer* UpperCase |
UsageControl |
true |
Organizer* UsageControl |
XRef |
true |
Organizer* XRef |
Option | Default | Corresponding Preference |
---|---|---|
Capitalization |
AsDefined |
Organizer* Capitalisation |
CCompilerDriver |
false |
Not available |
CompileAndLink |
true |
Organizer* CompileAndLink |
GenerateCode |
true |
Organizer* GenerateCode |
GenerateEnvFunctions |
false |
Organizer* GenerateEnvFunctions |
GenerateEnvHeader |
false |
Organizer* GenerateEnvHeader |
GenerateSignalNumbers |
false |
Organizer* GenerateSignalNumbers |
Kernel |
"SCTADEBCOM" |
Organizer* Kernel |
MakefileMode |
Generate |
Organizer* MakefileMode |
PrefixType |
Full |
Organizer* PrefixType |
Separation |
No |
Organizer* Separation |
StandardKernel |
true |
Organizer* StandardKernel |
TargetLanguage |
Cbasic |
Organizer* TargetLanguage |
UserKernel |
"" |
Organizer* UserKernel |
UserMakefile |
"" |
Organizer* UserMakefile |
UserTemplate |
"" |
Organizer* UserTemplate |
XCodeGenerator |
X |
Organizer* XCodeGenerator |
Option | Default | Corresponding Preference |
---|---|---|
DestinationFormat |
PSFile |
Print* DestinationFormat |
FirstPageNo |
1 |
Not available |
FrameMakerCommand |
"imaker" |
Print* FrameMakerCommand |
MarginLeft |
100 |
Print* MarginLeft |
MarginLower |
250 |
Print* MarginLower |
MarginRight |
100 |
Print* MarginRight |
MarginUpper |
420 |
Print* MarginUpper |
PageMarkers |
false |
Print* PageMarkers |
PaperFormat |
A4 |
Print* PaperFormat |
PrinterCommand |
"lpr -h -r" |
Print* PrinterCommand |
PrinterFile |
"" |
Not available |
PrintFrom |
|
Not available |
PrintTo |
|
Not available |
PrintToFile |
true |
Not available |
When the system file is saved, a second file is saved as well; the system window state file. This file contains information about window positions and sizes. If an editor window is not open when the system file is saved, the last known position and size of that window is saved instead. While the system file uses the .sdt
extension, the system window state file uses the .sdt.state
extension.
If the Organizer finds a system window state file when opening a system file, the positions and sizes of the Organizer and editor windows are restored to the positions they had when the system file was saved. Note that the editor windows are not restored until they are opened from the Organizer.
In addition to the System file (see System File), the Organizer also manages Control Unit files, .scu
files. These control units are introduced to facilitate the workgroup (multiuser) support when working with an SDL system managed by Telelogic Tau, and merging the individual results to a common system file.
The multiuser support in Telelogic Tau is based on, from a revision control point of view, letting the user split the system file into several files. Information that is updated often should be split and stored in control unit files.
When and where to split the SDL structure is an active action taken by the user.
The multiuser mode is effective when control unit files are used. The use of the control unit files is optional, whereas the system file is mandatory. The Organizer thus always requires a system file and can manage multiple control unit files. By not taking advantage of control units simply means using the Organizer and system files as was done before, i.e. in previous versions of Telelogic Tau (3.0X/3.1X/3.2).
A definition for a system file (.sdt
file) from a revision control point of view: a file that contains structure and state information for a document system as seen by one Telelogic Tau user. This file is normally not considered as an essential part of the system and is not suitable for revision control as it is private to one user.
A similar definition for a control unit file (.scu
file): a file that contains structure information for a subset of a document system and which is common to all users that work with the document system. Control unit files are part of the document system and are suitable for revision control.
The control unit files can be inserted and made visible in the Organizer's file structure view. The control unit files contain information that is specific to the Organizer file structure for diagrams, modules and chapters.
The users control what parts of the file structure managed by the Organizer need a separate control unit file. When several users work on a system, the management of the system file may be difficult to synchronize. This problem is solved if every user or group have control over their own part of the system file.
The Organizer structure information is hence split into several files -- control unit files. The decision of where and how many control unit files are needed is left to the users; the idea being to partition the diagram system according to the user's work responsibilities and assign control unit files to these partitions. An example can be a large SDL diagram system where there are several blocks on the system level developed in parallel by different developers. Each block could then be associated with a control unit file. Now, the blocks can be updated independently and the changes are shaping the local control unit files. There is no need to manually merge changes into the system file when the work is done -- the management of control unit files performed by the Organizer also includes the merge.
The user decides how control unit files and the system file cooperate to produce the Organizer view of the document system. Two scenarios are possible here. In one scenario the user decides that the system file is valid and the diagram structure is read from it. This is done when the user opens the system file and loads the document system into the Organizer. In the other scenario the control unit files are used to load the Organizer view and automatically update it accordingly to a specific revision for the document system -- the system file is used only to fill in document state information (if any is available). This is done with a menu command when control unit files are used to explicitly update the document system or some part of it.
To illustrate the use and contents of control unit files and facilitate the understanding, let us discuss the topic with a simple example as input.
Say we have the following system managed by the Organizer:
Figure 65 : A simple system, managed by the Organizer
|
Let us say that we create control units (using the CM Group command) for the following items:
We would now have a system that looks like this:
Figure 66 : The same system, now with control units
The control units are depicted in bold face.
|
The [DIAGRAMS] section of the demongame.sdt
file will contain:
[DIAGRAMS] -2 102 system system.scu 0 0 - "" -1 102 diagrams diagrams.scu 0 0 - "" -1 23 "Diagram Structure" %unconnected% 0 0 102 demongame demongame.scu 0 0 - "" 0 1 DemonGame demongame.ssy 0 0 demongame "" 1 102 gameblock gameblock.scu 0 0 - "" 1 2 GameBlock gameblock.sbk 0 0 gameblock "" 2 5 Main main.spr 0 0 main "" 2 5 Game game.spr 0 0 game "" 1 2 DemonBlock demonblock.sbk 0 0 demonblock "" 2 5 Demon demon.spr 0 0 demon "" 0 33 1 1.txt 0 0 - "" -1 23 "Associated Documents" %unconnected% 0 0 16 DemonGame1 %unconnected% 0 0 - "" 0 16 SystemLevel systemlevel.msc 0 0 - ""
The files system.scu, diagrams.scu, demongame.scu
and gameblock.scu
will contain the following information:
system.scu: -1 102 diagrams diagrams.scu 0 0 - "" -1 23 "Associated Documents" %unconnected% 0 0 16 DemonGame1 %unconnected% 0 0 - "" 0 16 SystemLevel systemlevel.msc 0 0 - "" diagrams.scu: -1 23 "Diagram Structure" %unconnected% 0 0 102 demongame demongame.scu 0 0 - "" 0 33 1 1.txt 0 0 - "" demongame.scu: 0 1 DemonGame demongame.ssy 0 0 demongame "" 1 102 gameblock gameblock.scu 0 0 - "" 1 2 DemonBlock demonblock.sbk 0 0 demonblock "" 2 5 Demon demon.spr 0 0 demon "" gameblock.scu: 0 2 GameBlock gameblock.sbk 0 0 gameblock "" 1 5 Main main.spr 0 0 main "" 1 5 Game game.spr 0 0 game ""
The format of the control unit file complies with the syntax of the [DIAGRAMS] section in the system file (see Format of the System File). There are however some exceptions:
<viewState>This field is only used for the separation value - the value is therefore either 0 or 1.
<timeStamp>This field is not used - the value is always 0.
<associations> ::= " <qualifiernameList> "A list of quoted qualifier names, each name denoting a document. See Example 5, below.
<dependencies> ::= " <qualifiernameList> "A list of quoted qualifier names, each name denoting a document.
<qualifiernameList> ::= $ | (<qualifierName> (, ($ | \NL) <qualifierName>)*) <qualifierName> ::= ` <qualifierTuple> (/<qualifierTuple>)* ` <qualifierTuple> ::= <integer> <string><string> is the name of the system file, chapter, module or diagram.
" `23 Diagrams Area/1 DemonGame/2 DemonBlock', \ `23 Diagrams Area/1 DemonGame/2 GameBlock' "
A control unit file is associated with a document structure in the Organizer. The control unit file holds information about the top node of the structure and information about lower level documents under the top node and/or other lower level control unit files.
Document nodes in a control unit file have a relative level (i.e. <indent>
) starting from 0. (Exceptions: a chapter node and an control unit file node associated with a chapter have always level -1). This gives the flexibility that the control unit file can be associated with a node on different levels in the system structure of documents. To get the actual level for a document node from an control unit, the control unit file node level should be added to the document's relative node level.
0 2 GameBlock gameblock.sbk 0 0 gameblock "" 1 5 Main main.spr 0 0 main "" 1 5 Game game.spr 0 0 game ""
The control unit files are hierarchical. The top control unit file is for the whole system of documents in the Organizer. We give this control unit file level (-2). If this file has an information line in the system file this means that the top of the whole system structure is found in that file. Other structure information about diagrams mentioned in the system file is then only a mirror of the structure information found in the control unit hierarchy.
-2 102 system system.scu 0 0 - ""
The user can choose to use a control unit file only for a specific chapter, module or diagram structure (without a top level control unit system file). This means that not all information in the system file is a mirror for structure information from control unit files. Some of the information can be actual structure information that is not controlled by control unit files. When the Organizer expands structure information from control unit files it tries to match that information against the contents in the system file. This matching is necessary because only the system file holds state information about documents. The structure information from control unit files takes precedence over structure information found in the system file. If there is an inconsistency between the control unit file structure information and the system file, the control unit information takes precedence and the SDT contents are treated as an error situation. Say, for instance, that according to a control unit file there are three blocks in an SDL system but there are four blocks in the system file. The extra block is probably old information.
-1 102 diagrams diagrams.scu 0 0 - ""
A control unit information line in the system file is followed by a mirror information line of the top node that the control unit file is associated with. If the Organizer cannot open the control unit hierarchy the mirror information will function as a back-up document structure information.
-1 102 diagrams diagrams.scu 0 0 - "" -1 23 "Diagram Structure" %unconnected% 0
SDT supports operations in batch mode, such as printing the documentation, analyzing an SDL structure and generating code. These operations are managed by the Organizer in a batch, windowless mode.
The syntax for an SDT batch command is:
sdtbatch <systemfile> <options>
Where <systemfile>
and <options>
are described in SDT Batch Options.
When the sdtbatch
command is issued, the Organizer interprets the command line arguments, performs the requested operation and then terminates. Error logging is performed by the Organizer.
Information concerning the batch job is directed the standard output device.
Note: When executing an SDT Batch command, external service management via the PostMaster interface is disabled. |
Syntax:
sdtbatch -p[rint] systemfile \ [-s[elect] documentfile] \ [-o[ption] optionfile]
Prints the contents in the system file. Corresponds to clicking the Print quick button.
Syntax:
sdtbatch -p[rint] \ -s[elect] documentfile \ [-o[ption] optionfile]
Prints one file.
Syntax:
sdtbatch -d[iff] [ -b ] [ -n ] \ documentfile1 documentfile2
Compares two SDL document files. By default, a summary of how many differences that were found is printed. When using the -b
option (verbose), information about every differing object is presented, including an SDT reference to the object in question. When using the -n
option, moved symbols are not detected, but are presented as removed and added symbols instead.
Syntax:
sdtbatch -a[nalyse] systemfile \ [-s[elect] diagramfile] \ [-o[ption] optionfile]
Analyzes the contents in the system file. Corresponds to the Analyze quick button.
Syntax:
sdtbatch -m[ake] systemfile \ [-s[elect] diagramfile] \ [-o[ption] optionfile]
Makes a target as specified by the system file. Corresponds to the Make quick button.
<systemfile>
<systemfile>
is an Organizer System File. A valid system file should be supplied.select <file>
<file>
, which should be included in the document structure, (associated documents are also included if the -print
option specified) becomes the selected object upon which the command is applied. This option corresponds to a manual selection of the document in the Organizer drawing area.-option <optionfile>
<optionfile>
is a file with the same syntax as a System File, containing options which supersede the options found in the system file. An arbitrary number of options may supplied, but options in the file must be preceded with an option section field as found in the system file.Systems can be created with Telelogic Tau on both the UNIX and Windows platforms. To allow systems to be accessed on both platforms, Telelogic Tau provides a file compatibility concept.
The drive table contains a mapping between Windows and UNIX directory paths. This mapping is included in the system file to allow file specifications in the system file to be translated to the correct format on both platforms. See Drives Section for more information.
The menu choice PC Drives is available in the Organizer's File menu, and allows editing the drive table that is stored in the system file. See PC Drives for more information.
The drive table takes care of translating absolute paths between the two different file name formats (UNIX and Windows). On a UNIX system, some restrictions apply to file names to be compatible with Windows. These restrictions are checked whenever the user changes a file specification that is stored in the system file; if they are not followed, an error dialog is shown and the user is returned to the dialog where the file was specified. See Filename Error Dialogs (UNIX only) for more information.
File specifications are always stored in the correct format according to the current platform.
In general, diagrams with file specifications that are of incorrect format or that cannot be translated to the correct format, are marked as Invalid in the Organizer.