[Previous] [Next] [Contents] [Index]


   The Organizer

Menu Bar

This section describes the menu bar of the Organizer Main window and all the available menu choices.

The menu bar contains the following menus:

Available Menu Choices

The following concepts affect the menu choices that are available in the menu bar.

Long and Short Menus

The user can choose between long and short menus with the menu choice View Options in the View menu. Menu choices only available in long menu mode are presented with the menu choice name within parenthesis in the textual enumeration of menu choices for a menu in the following sections.

License Dependent Menu Choices

The following menu choices are only available if the corresponding SDT tool is available according to the license configuration:

License Affected menu choices

Code Generator

Make

Simulator

SDL > Simulator UI

Validator

SDL > Validator UI

Configurable Menus

In ORCA1 and SDT, some menu choices may be available through the concept of user-defined menus. For more information, see Defining Menus in ORCA and SDT.

File Menu

The File menu contains the following menu choices. (Menu choices within parenthesis are not available in short menu mode.)

New

This menu choice creates a new system, containing the basic Organizer view (see Chapters).

If a system file already is open in the Organizer, the behavior is determined by the status of the existing system. If modified information exists, the user first gets the possibility to save it; see The Save Before Dialog.

The new system is then created in memory. Source Directory and Target Directory are left unchanged, i.e. set to the values they had before the New operation.

Note: 

The actual value of a directory in the Set Directories dialog may change if the directory is set to System file directory. Since there is no system file associated with a new system, the Telelogic Tau start-up directory is used until the file is saved.

You have to save the system to create a system file on disk.

The old contents of the drawing area is replaced with the basic Organizer view. If any of the documents in the old system managed by the Organizer were opened in an editor, these editor windows are closed.

Open

This menu choice opens an existing system file.

If a system file is already open in the Organizer, the behavior is determined by the status of the existing system. If the information is not modified, the Open dialog is issued (see below). If modified information exists, the user first gets the possibility to save it; see The Save Before Dialog.

The Open dialog is a standard file selection dialog, with the file filter set to *.sdt. The Open button in the dialog opens the specified system file. The old contents of the drawing area is replaced with the new system. If a system window state file is found, see System Window State File, the window position and size is restored to the position and state it had when the system file was saved. If any of the documents managed by the Organizer were opened in an editor, the editor windows are closed.

Note: 

An SDL diagram cannot be opened with this menu choice in the Organizer. If you specified an SDL diagram created with version 2.X of SDT, you are suggested to import this diagram in order to create a diagram structure.


Extracted pic [1]

If the system file does not specify the Source Directory and/or the Target Directory explicitly, these directories are set to the directory where the system file was found.

The following information consistency checks are performed when opening a system:

Save

This menu choice saves all modified documents and control unit files known to the Organizer, the link file, and finally the system file used by the Organizer. You can still perform a save even if the Organizer contains a completely new system, or if the system has not been changed since the last save operation. The menu choice has the text Save (not needed) in this situation.

Whenever the system file is saved, the system window state file is saved as well. See System Window State File.

If the system file is modified and needs saving, an asterisk `*' is appended to the name of the system file in the Organizer's title bar.

When the first document that is modified is encountered in the Organizer's view of files, the Save dialog below appears. If not Save All, Quit All or Cancel is selected, the dialog will remain on the screen and all modified documents will be handled by the dialog subsequently.

Whether the document is connected to a file or not will affect the layout and behavior of the Save dialog. For any unsaved and unconnected documents found, the user must provide a filename to connect to.

The appearance of the dialog if the document is already connected:

Figure 17  : The Save dialog when connected

Extracted pic [3]

The appearance of the dialog if the document is not connected:

Figure 18 : The Save dialog when unconnected

Extracted pic [4]

If the system has been saved before, the system file is saved (without a dialog) after all diagrams and documents have been saved. If the system never has been saved, the Organizer presents a dialog and proposes a name for the system file; the prefix is the name of the first document in the structure, the suffix is .sdt.

The fields and buttons in the Save dialog are:

Figure 19 : The No Save dialog

Extracted pic [5]

Figure 20 : The Quit All dialog

Extracted pic [6]

Save As

This menu choice works as the Save menu choice with the following differences:

The Save Before Dialog

Some operations in the Organizer need to save information before the actual operation can be performed. The saving is only performed if modified information exists in the system. In these cases a Save Before dialog is opened, which is very similar to a normal Save dialog. The dialog title is Save before <command> and some buttons may behave differently (see Figure 17). If not Save All, Quit All or Cancel is selected, the dialog will remain on the screen and all modified files will be handled by the dialog subsequently.

The Save Before dialog is opened for the following menu choices:

Auto Saving

When selecting any of the Generate commands Analyze, Make, Convert to PR/MP or SDL Overview, the Save Before dialog does not appear if the preference AutoSaveBefore is set. However, unconnected and modified documents still require user interaction. If such documents exist, the dialog appears.

Print

Prints all or some of the diagrams in the Organizer. See Printing Documents and Diagrams, for more information about the dialog and some examples of how to print.

Set Directories

This menu choice sets the source and target directories. For more information on these directories, see Source Directory and Target Directory.

If the source directory is changed while a Save dialog is active in an editor, the directory where the editor saves the diagram is undefined. An ongoing analysis is not affected by changing the target directory.

Figure 21 : The Set Directories dialog

Extracted pic [7]

PC Drives

This menu choice displays the drive table of the currently opened system, i.e. the mapping between drive names in Windows and the beginning of corresponding directory paths on UNIX. For more information, see Windows and UNIX File Compatibility.

The following dialog is opened:

Figure 22 : The PC Drives dialog

Extracted pic [8]

The text area displays the drive table currently used in the system. The table can be edited directly in the text area. When the system file later is saved, the table is stored in the Drives Section.

When clicking OK, a basic syntax check is performed on the entered drive table. Each line should consist of two items only:

Paths containing spaces must be put within double quotes. Note that within double quotes, each backslash must be entered as two backslashes, i.e. a UNC path \\host\dir name (containing spaces) must be entered as "\\\\host\\dir name".

If any errors are found, the user is notified and the dialog is not closed. If the table was changed and found to be syntactically correct, the system file is marked as modified.

Note: 

Changes made in the PC Drives dialog only take effect when the system file is reloaded.

Compare System

This menu choice compares the contents of the Organizer Main window with the contents of a system file (.sdt file). The compare operation is performed on a diagram/document level.

The two systems are compared and possible differences are reported to the user, with the option to merge them, by specifying which documents to add and which to remove in the Organizer system.

The information is processed according to the following scheme:

  1. The user is asked to exit any editors, if any is found running. This means that modified documents must be saved before the comparison can be started.
  2. If the system file is modified, the user is prompted to save it in a The Save Before Dialog.
  3. A standard file selection dialog is issued, where the system file to compare the Organizer system with may be selected. Choosing a system file in this dialog starts the compare operation.
  4. The Compare System dialog is issued, where the differences are reported (if the Organizer system and the contents of a system file are found identical, this is reported in a message box and the operation is terminated).

Figure 23 : The Compare System dialog

Extracted pic [9]

  1. The user decides if and how to merge the two views, by selecting / deselecting the items to include or exclude from the resulting system. OK updates the system in accordance with the settings.
The Compare System Dialog

The items in the Organizer diagrams list are the icons that were found in the Organizer's chapters.

By default, all items that originate from the Organizer are selected, meaning that they will be included in the merged view.

Figure 24  : A diagram originating from two sources
The MSC DemonGame has been found both in the current Organizer view (where the diagram is connected to a file) and in the system file (where it is connected to another file). The dialog suggests by default to include the diagram originating from the Organizer (the left list) and to exclude the diagram originating from the system file. The user may however change the selection to merge the systems in a different way.

Extracted pic [10]

The <system file> list indicates the directory and name of the selected system file. The items in this list are the items that were found in the system file.

By default, given two documents that are considered almost equal, the dialog will select the document originating from the Organizer, not the document originating from the system file. See example in Figure 24, above.

How Systems Are Compared

Some rules that govern how systems are compared:

Note: 

Compare System does only compare the structural system information saved in the system file. Compare System does not compare the document contents, such as page names.

Associations and Dependencies

The Compare System function preserves, as far as possible, the association and dependency links that exist between documents:

  1. When an association link is found in a system file, the file names of the two documents are saved.
  2. If a document with an association link is selected by the user to be included in the Organizer, a new link is generated if a document with the previously saved file name can be found in the Organizer structure. If such a document cannot be found, the association link is removed from the included document.

Import SDL

Imports an SDL diagram or a number of SDL diagrams in SDT-2 or SDT-3 format, and extracts the diagram structure with the possibility to save it in a system file. The command may, on demand, convert the imported diagrams into SDT-3 format without the need to involve the user for each diagram to convert. It is not possible to import an SDT-3 system file.

To avoid potential name conflicts when saving an imported diagram structure, the menu choice will not perform any action, and causes the following message box to be displayed, in the case any files are opened in an editor.

Figure 25 : Import diagrams disabled

Extracted pic [11]

Basically, the involved diagrams and their corresponding files are bound and presented in the Organizer. A number of information entities can be extracted from the diagrams.

If a system file already is open in the Organizer, the behavior is determined by the status of the existing system structure. The user is first asked to exit any editors, if any is found running. This means that modified documents must be saved before the import is started. If a modified system file exists, the user first gets the possibility to save it; see The Save Before Dialog.

The following dialog is then opened:

Figure 26  : The Import SDL dialog

Extracted pic [12]

The root diagram to import and convert can either be named logically with type and name, or physically with a file name. The specified diagram will become a new root diagram, placed last in the Organizer.

Figure 27 : The Import SDL Details dialog

Extracted pic [13]

Figure 28 : Import diagrams warning

Extracted pic [14]

Recently used system files

Just above the Exit menu choice, there can be up to four menu choices representing recently opened system files. To open one of them again, select the appropriate menu choice. The information about recently used system files is saved in a file called .sdtfiles, in your home directory (see Environment Variables).

Exit

This menu choice exits the Organizer.

The exit operation consists of four phases:

  1. Handling of modified files managed in the Organizer structure.

  2. If modified information exists in the current system structure, the user gets the possibility to save it; see The Save Before Dialog. The dialog is opened for the first file (document/system file) that is modified in the Organizer's view of files. The user can then choose how to continue. If the user does not select Save All, Quit All or Cancel, the dialog will remain on the screen and all modified files will be handled by the dialog subsequently.

    The link file and the system file are saved last, if necessary. If the Exit process at a later stage is cancelled, all documents in the editors are still available, since they are not closed until all modified documents are handled.
  3. Confirmation of Exit.

  4. If no analyze, make, simulation or validation jobs are active, the Organizer exits without user confirmation. If there are such active jobs, or a simulator/validator UI is executing, the user has the possibility to force an exit of these jobs:

Figure 29 : Exit confirmation with active jobs

Extracted pic [2]

  1. Removing of documents in editors.
  2. Shutdown of tools.

  3. All Telelogic Tau tools are terminated, possibly issuing a Save before exit dialog. Finally, the Organizer itself is terminated.

Edit Menu

A general mechanism to edit the document structure(s) in the Organizer does not exist. Some of the menu choices in the Edit menu are used for basic operations on root documents and file connections. However, most changes to the document structure are a result of operations made in the diagram editors; see Reference Symbols.

The Edit menu features the following menu choices (menu choices within parenthesis are not available in short menu mode):

Edit

This menu choice edits the selected symbol or document. A document is edited by starting the corresponding editor. A document which is opened in an editor has its name shown in bold face in the Organizer.

The menu choice is dimmed if the selected icon is invalid, or if an instance or dashed SDL diagram icon is selected.

The operation performed depends on the type of symbol or document selected, according to the following:

Type of symbol or document Operation performed

System file

The CM Group dialog is opened (see CM Group).

Link file

The Link Manager is opened.

Directory symbol

The Set Directories dialog is opened (see Set Directories).

Chapter

The Edit Chapter dialog is opened. This dialog contains three choices:

  • Edit chapter symbol: the Edit dialog is opened (see below) to allow editing the symbol type, the chapter name, or the connected text file.
  • Edit chapter options: the Chapter Options dialog is opened (see Chapter Options).
  • Edit first page after chapter: the first connected SDL diagram or page after the chapter symbol is edited (see below).

Module

The Edit dialog is opened (see below) to allow editing the module name.

Connected document or header/footer file

The document/file is opened in an editor. For a diagram, the first page in the diagram is shown, or if the user has specified a page to open first in the editor (see The Open This Page First Option), this page is shown instead.

Association or dependency link

The corresponding referenced document is edited as if it was the selected document.

Page symbol

The page is opened in an editor.

Unconnected document or header/footer file

The Edit dialog is opened (see below).

The Edit dialog looks like this:

Figure 30  : The Edit dialog

Extracted pic [15]

Add New

This menu choice adds a new document to the system. Normally, the added document is placed as a root document below the current selection. If there is no selection, the document is placed as the first root document in the Organizer. Adding a diagram also involves an update of a control unit if there is one that is associated with the diagram substructure affected by the Add New command.

There are two exceptions to this:

To add SDL diagrams other than root SDL diagrams, the SDL Editor is used (see Adding a Diagram Reference Symbol).

The same dialog is opened as for Edit on an unconnected document (see Figure 30). By default, the Show in editor button is on.

If there is a selection, Document type and Document name in the dialog will be set to the selected symbol's type and name. If there is no selection, the dialog will show the settings from the previous invocation. If it is the first time this dialog is used, the default type Module and the default name "Untitled" will be used.

Multiple root diagrams with the same name are allowed.

If an SDL diagram was selected and an MSC diagram is added, an association link to the MSC diagram is automatically added to the SDL diagram.

Add Existing

This menu choice adds an existing document file to the system. The existing document is added at the same place as described for the Add New menu choice. Adding a diagram also involves an update of a control unit if there is one that is associated with the diagram substructure affected by the Add Existing command.

A dialog will be opened, that allows you to specify the file to add, either via a text field or via a standard file selection dialog.

There are also two options in the dialog:

If the standard file selection dialog is used, the file filter is set to reflect the currently selected document type. If a module is selected, the file filter is the same as in the previous invocation. If no document is selected, the file filter is set to .s??.

The document type and logical name of the existing document is determined in different ways for different document types. The type and name is determined by:

Note: 

It is not possible to add a document that does not have a default file extension. For information about default file extensions, see Save.

If an SDL diagram was selected and an MSC or Overview diagram is added, an association link to the MSC or Overview diagram is automatically added to the SDL diagram.

The existing document is by default opened in an editor. This behavior can be changed by the preference Organizer* ShowAddExisting.

Remove

This menu choice removes a selected root document and its document substructure, if any, from the system structure. Modules, chapters and top-level documents in modules can also be removed.

Removing a root document may also involve the update of one control unit file if there is any containing the diagram substructure that has been removed. The menu choice is dimmed if no such document, module or chapter is selected, or if the document is modified.

Removing a chapter symbol does not remove the documents in that chapter; only the chapter symbol itself is removed.

The following dialog is opened:

Figure 31 : The Remove dialog

Extracted pic [16]

Connect

This menu choice connects a selected document to a file. It is possible to reconnect an already connected document. The menu choice is dimmed if a directory, page, instance diagram, dashed diagram, chapter, or module symbol is selected.

The following dialog appears:

Figure 32 : The Connect dialog

Extracted pic [17]

Figure 33 : The Connect error message

Extracted pic [18]

Figure 34 : The Connect warning dialog

Extracted pic [19]

Figure 35 : The Connect change directory dialog

Extracted pic [20]

Error Notification

If an error occurs, the user is informed in a message box and control is returned to the Connect dialog.

Reconnect Connected SDL Diagram

When performing a reconnect to an already connected SDL diagram, the current SDL child diagram references are matched against those found in the connected file. If mismatches are found, icons are marked as such but the structure is kept intact, if possible.

Connect Open Documents

When connecting an unconnected document that is opened and unsaved in an editor, the file name binding is not conveyed to the editor, i.e., the editor binding is lost.

Disconnect

This menu choice disconnects the connected file from the selected diagram. The menu choice is dimmed if the selected symbol has no file connection.

The following dialog is opened:

Figure 36 : The Disconnect Diagram dialog

Extracted pic [21]

If the document is currently loaded in an editor and is modified, the document reference in the Organizer gets the same status as if a new document is edited, i.e. new and unconnected. The editor binding is then lost.

CM Group

This command operates on the currently selected diagram, and is used to create or remove a Configuration Management Group for the diagram structure. Following this menu choice, a dialog is issued:

Figure 37 : The CM Group dialog

Extracted pic [22]

Figure 38 : A CM group in the Organizer view

Extracted pic [23]

Associate

This menu choice associates or disassociates a selected document with another document. An association symbol indicates that two document symbols are connected. (A related symbol is the dependency symbol, see Dependencies.)

If an association icon is selected, this menu choice operates on the associated document, not the icon itself. Any document may be associated with any other document, and a document may have more than one associated document.

The following dialog is opened:

Figure 39 : The Associate dialog

Extracted pic [24]

Paste As

This menu choice is used to paste copied objects as new diagrams in the Organizer. A root diagram is created and opened in an editor. The following transformations are possible via Paste As in the Organizer:

For more information about the Paste As dialog, see The Paste As Command.

Go To Source

This menu choice is used to open an editor with a document according to an SDT reference. The SDT reference is specified in a dialog, see Figure 40. If the SDT reference includes information about an object in the document, that object will be selected. SDT references can be obtained by using the menu choice Show GR Reference in an editor.

For information about SDT references, see SDT References.

The following dialog is opened:

Figure 40  : The Go To Source dialog

Extracted pic [25]

An error message appears if the format of the SDT reference is incorrect or if the requested SDT reference cannot be found.

Update Headings

This menu choice checks the headings of SDL, HMSC, OM, and SC diagrams for correctness with respect to what is defined in the Organizer structure.

It operates on the selected diagram and its substructure. If no diagram is selected, all SDL, HMSC, Object Model, and State Chart diagrams in the Organizer are checked. For SDL diagrams, the kernel headings are checked.

Before the headings are checked, a check is made to see if any file is connected to more than one diagram. Such files are reported in the Organizer log, and a warning box is issued to the user. These files may be modified for each appearance and will cause all but the last update to be incorrect.

The heading check is made silently until the first incorrect heading is found. The diagram checked is then shown in the dialog below. If an incorrect qualifier is found, the user is prompted in the dialog whether to update the header or not. The user also has the possibility to silently update all incorrect headings. That is, they are loaded in an editor and are then corrected without confirmation by the user.

After the operation, all updated headings are in an unsaved mode in the editor.

This operation should be done regularly in order to avoid peculiar and hard-to-find analysis error caused by incorrect diagram headings.

In SDL diagrams, qualifiers can be placed in other symbols than the heading in the system, such as qualifying data types in a text symbol. Such qualifiers are not found by the Update Headings menu choice.

The following dialog is opened:

Figure 41 : The Update Headings dialog

Extracted pic [26]

View Menu

The View menu includes the following menu choices (menu choices within parenthesis are not available in short menu mode):

Expand

This menu choice expands the symbol structure tree one level down for the selected document. If any symbols one level down are hidden, they are still hidden after this operation. (Use the menu choice Show Sub Symbols to show hidden symbols.)

The menu choice is dimmed if:

Expand Substructure

This menu choice expands the symbol structure tree the whole way down for the selected document. This also expands sub symbols that are hidden, but those sub symbols are still hidden after this operation. (Use the menu choice Show Sub Symbols to show hidden symbols.)

The menu choice is dimmed if:

If no document is selected, all icons will be expanded.

Collapse

This menu choice collapses the selected document, i.e. the sub symbols are not shown after this operation. A collapsed document has a small triangle drawn below the icon to indicate that it is collapsed.

The menu choice is dimmed if:

If no document is selected, all icons will be collapsed. A collapsed document does not affect a corresponding document file opened in an editor, i.e. it does not have to be closed or saved.

Show Sub Symbols

This menu choice is used to specify which sub symbols of the selected document that should be shown or hidden. The sub symbols can be documents, instance diagrams, pages, or associations. If a More symbol is selected, the operation applies to the parent document, which becomes selected instead.

Only the sub symbols one level down from the selected document is affected, not the complete symbol substructure. The menu choice is dimmed if there is no selection or the selected symbol has no sub symbols.

Note: 

This menu choice does not expand or collapse the document.

The following dialog is opened:

Figure 42 : The Show Sub Symbols dialog

Extracted pic [27]

Hide

This menu choice hides the selected non-root document and its substructure. The document and its substructure is replaced by a More symbol, which is always placed last of the symbols on that level. If such a symbol already existed in the parent document, the document is hidden under the same More symbol. The symbol's count of hidden documents is updated.

The menu choice is dimmed if there is no selection, or the selected document is a root document.

By double-clicking on the More symbol, the Show Sub Symbols dialog is opened.

View Options

This menu choice sets options for controlling the appearance of the Organizer window, as well as options for which icon attributes to show.

The options are set in a modeless dialog, i.e. the Organizer can continue working without waiting for the dialog to be closed. The options are saved in the system file.

The following dialog is opened:

Figure 43 : The View Options dialog

Extracted pic [28]

The figure above shows the default settings. The settings made in the dialog are preserved as default values the next time the dialog is invoked.

Tree mode

The Tree mode section contains options for the two different tree presentation modes available in the chapters (see Presentation Modes).

Menu bar

The Menu bar section contains options for which menu choices that are available (see Long and Short Menus).

Show

The Show section contains options for which window parts, documents and file attributes to show. The options are available as items in a multiple selection list, which can be selected or deselected. Options already turned on are pre-selected when the dialog is opened.

Figure 44 : Separators between SDL diagrams

Extracted pic [29]

Chapter Options

This menu choice is used to set chapter properties.

The following dialog appears:

Figure 45 : The Chapter Options dialog

Extracted pic [30]

The first chapter number is defined in the text field. This number defines the chapter number to use for the first chapter symbol of type Chapter 1, Chapter 1.1, Chapter 1.1.1 or Chapter 1.1.1.1 in the Organizer View area. For example, if the first chapter number is specified as "3.2", then an initial chapter symbol of type Chapter 1 will get chapter number 3. If the initial chapter symbol instead is of type Chapter 1.1.1.1, it will get a chapter number of 3.2.1.1.

The maximum TOC chapter level decides which chapter symbols that will be visible in the table of contents when a print is done from the Organizer. A maximum TOC chapter level of zero will only show chapter symbols of type Chapter, while a chapter level of 4 will show all chapter symbol types in the table of contents.

Set Scale

Sets the scale (20%--800%) used in the Organizer window. The setting is saved in the system file.

Generate Menu

The Generate menu contains the following menu choices (menu choices within parenthesis are not available in short menu mode):

Analyze

This menu choice analyzes the selected SDL or TTCN system. If there is no SDL or TTCN system selected, the Organizer operates on the first SDL system found in the Organizer. The menu choice is dimmed if:

The Analyze SDL variant of this menu choice is described below, followed by the Analyze TTCN variant.

Analyze SDL

This menu choice starts the Analyzer for one or several related SDL diagrams. If modified information exists in the current system structure, the user should first save it. See The Save Before Dialog for more information.

Any SDL diagram can be selected for analysis, but in practice at least the parent block diagram will be the source of the analysis. If no SDL diagram is selected, the first SDL diagram found in the Organizer view will be used. The diagram will be analyzed in its context and together with its substructure.

Options for the Analyzer are specified in the modal dialog below. The settings are saved in the system file and persist until the next time the dialog is invoked for the same system.

Figure 46 : The Analyze dialog

Extracted pic [31]

The Analyze SDL Settings

Note:  Normal versus full analyze (make)

In the Analyze and the Make dialog, the user can choose between the normal Analyze/Make and the Full Analyze/Make buttons. The last used button (normal or full) will be the default when any of these two dialogs is used the next time. The last used button will also determine if normal or full analyze/make will be used when invoking operations via the quick buttons Analyze, Make, Simulate and Validate. It is possible to toggle between normal or full analyze/make by pressing <Ctrl+T>.

Figure 47 : The Overwrite dialog

Extracted pic [32]

The options above are forwarded to the Analyzer when the analysis process starts.

The Analyze SDL Buttons

Analyze TTCN

This menu choice is used to analyze a TTCN system and/or to generate a Flat View for a TTCN system.

Options for the Analyze process are specified in the modal dialog below. A selectable Generate Flat View phase is executed in the analyze process. The settings are saved in the system file and persist until the next time this dialog is invoked for the same TTCN system.

Figure 48 : The Analyze TTCN dialog

Extracted pic [33]

The Analyze TTCN Settings
The Analyze TTCN Buttons

For more information about this dialog, see The Analyzer.

See also Analyzing TTCN Documents (in Windows).

Make

This menu choice makes the selected SDL or TTCN system, or the selected SDL block or process diagram. If a Build Script containing commands to the C Code Generator is selected, that file will be used as input to the C Code Generator, without opening the Make dialog (see Build Scripts.

If no document or file of the above mentioned type is selected, the Organizer operates on the first SDL system found in the Organizer. The menu choice is dimmed if:

If modified information exists in the current system structure, the user should first save it; see The Save Before Dialog.

The SDL Make variant of this menu choice is described below, followed by the TTCN Make variant.

SDL Make

Options for the Make process are specified in the modal dialog below. An analysis phase is executed as part of the Make process. The existing Analyzer options as set in the Analyze dialog are used.

Figure 49 : The Make dialog

Extracted pic [34]

Code Generation Options
Directory Options
Makefile Options

Example 2 : Contents of a UNIX Make Template File      

Compile & Link Options
Dialog Buttons

Note: 

For information about how Make/Full Make relates to Analyze/Full Analyze and quick buttons, see Normal versus full analyze (make).

TTCN Make

This menu choice is used to make (generate code, compile and link) a TTCN system.

For more information about this operation, see The ITEX C Code Generator (on UNIX) or The ITEX C Code Generator (in Windows).

Stop Analyze/Make

This menu choice stops an ongoing analyze/make operation. The Analyzer tool is also stopped. (The Analyzer tool normally remains resident in memory for the rest of the SDT session once the first analyze/make is performed, and this menu choice is then renamed to Stop Analyzer. Using this menu choice is one way to free memory if needed.) Several commands, such as Analyze, Make, Convert to PR/MP and Convert to GR, are not available when the Analyzer is processing data. Stopping the Analyzer enables these commands again.

A message with the essence "Analyzer could not be stopped" may be issued as a response to this command; in this case, repeat the menu choice until the message "Analyze/make stopped" is issued in the message area.

Cmicro BodyBuilder

This menu choice starts the Cmicro BodyBuilder tool. See The BodyBuilder, for more information.

SDL Overview

This menu choice generates an SDL overview diagram for the selected SDL diagram as the top diagram. The menu choice is dimmed if:

If modified information exists in the current system structure, the user should first save it; see The Save Before Dialog.

Any SDL diagram can be selected for generation. If no SDL diagram is selected, the first SDL diagram found in the Organizer view will be used.

Figure 50 : The Generate SDL Overview dialog

Extracted pic [35]

State Overview

This menu choice generate a state overview information file (*.ins) in the target directory for the selected SDL system. A plain text symbol is added in the Organizer view and connected to the generated file. If the *.ins file could be created (no analyzer errors), the Text Editor pops up and presents state matrices for the processes in the SDL system. Read more about managing state matrices in The Text Editor.

If no SDL system is selected, the Organizer operates on the first SDL system found in the Organizer. The menu choice is dimmed if a job using the Analyzer is already running.

Convert to PR/MP

This menu choice converts the selected diagram/document to textual form. SDL-GR is converted to SDL-PR and TTCN-GR is converted to TTCN-MP. If no diagram/document is selected, the Organizer operates on the first SDL system found in the Organizer. The menu choice is dimmed if a job using the Analyzer is already running.

The Convert to PR (SDL) variant of the menu choice is described below, followed by the Convert to MP (TTCN) variant.

Convert to PR (SDL)

The SDL variant of the Convert to PR/MP menu choice generates a formatted (pretty printed) SDL-PR file. Input is either an SDL-PR file or an SDL-GR diagram structure.

If modified information exists in the current system structure, the user should first save it; see The Save Before Dialog.

Figure 51 : The Convert to PR dialog

Extracted pic [36]

Convert to MP (TTCN)

This TTCN variant of the Convert to PR/MP menu choice converts a TTCN-GR document to a TTCN-MP text file.

For more information about Convert to MP, see Exporting a TTCN Document to TTCN-MP or Exporting and Importing TTCN-MP

Convert to GR

This menu choice converts a textual file to one or more graphical diagrams. A TTCN-MP file is converted to TTCN-GR diagrams, and an SDL-PR file is converted to SDL-GR diagrams. The menu choice is dimmed if a job using the Analyzer is already running.

The Convert to GR (SDL) variant is described below, followed by the Convert to GR (TTCN) variant.

Convert to GR (SDL)

The Convert to GR dialog is in SDL mode when the radio button Convert SDL PR to SDL GR is on (see Figure 52).

Figure 52  : The Convert to GR dialog in SDL mode

Extracted pic [37]

Convert to GR (TTCN)

The Convert to GR dialog is in TTCN mode when the radio button Convert TTCN-MP to TTCN-GR is on (see Figure 52).

For more information about the Convert to GR dialog in TTCN mode, see Importing a TTCN-MP Document or Exporting and Importing TTCN-MP.

Convert IDL to SDL

This menu choice converts IDL text files to SDL-GR. In Windows, this functionality is not available and the menu choice is dimmed.

On UNIX, the following dialog appears:

Figure 53 : The Convert IDL to SDL dialog (UNIX only)

Extracted pic [38]

Convert GR to CIF

This menu choice converts SDL-GR diagrams to the Common Interchange Format (CIF).

On UNIX, the Convert GR to CIF dialog is opened. For more information, see Convert GR to CIF Dialog (UNIX only).

In Windows, the SDT2CIF converter tool is started. For more information, see Graphical User Interface (Windows only).

Convert CIF to GR

This menu choice converts diagrams in Common Interchange Format (CIF) to SDL-GR diagrams.

On UNIX, the Convert CIF to GR dialog is opened. For more information, see Convert CIF to GR Dialog (UNIX only).

In Windows, the CIF2SDT converter tool is started. For more information, see Graphical User Interface (Windows only).

Convert State Chart to SDL

This menu choice transforms the selected State Chart to an SDL process diagram. For more information, see Converting State Charts to SDL.

Edit Separation

This menu choice inserts or edits a separation on the selected SDL diagram. It is dimmed if the selected diagram type is not one of system, system type, block, block type, process, process type, procedure, and package.

Diagram separation symbols are used during code generation and controls both the splitting of the target into separate modules and the naming of these modules. For more information, see Selecting File Structure for Generated Code -- Directive #SEPARATE. Separations can be shown in the diagram structure of the Organizer; see Separator symbols. Information about separations are stored in the system file.

Figure 54 : The Edit Separation dialog

Extracted pic [39]

Dependencies

This menu choice introduces or removes dependencies between a selected document and other documents. A dependency symbol below a document indicates that the document is depending on another document. For instance, if an SDL system is depending on an ASN.1 document, then the SDL system must be re-analyzed each time the ASN.1 document is updated. A related symbol is the association symbol, see Associate.

Note: 

Dependency links between SDL systems and C header files or ASN.1 documents are not required, but serve mainly as comments. The SDT Analyzer will re-analyze the SDL system automatically for such dependencies.

If a dependency icon is selected, this menu choice operates on the document the dependency icon is referring to, not the icon itself. Any document may depend on any other document, and a document may have be depending on more than one document.

The following dialog is opened:

Figure 55 : The Dependencies dialog

Extracted pic [40]

Tools Menu

The Tools menu contains the following menu choices:

Organizer Log

This menu choice raises the Organizer Log window. The Organizer Log window can be raised automatically when the user performs an analysis or other forms of generation. There is only one Organizer Log window.

The Organizer Log window is described in Organizer Log Window.

Link > Create Endpoint

This menu choice creates an endpoint for the selected document. A document with an endpoint is recognized by a small triangle in the upper left corner of the document symbol. See Link > Create Endpoint.

Link > Traverse

This menu choice traverses a link for the selected document. A document with at least one link is recognized by a small black triangle in the upper left corner of the document symbol. See Link > Traverse.

Link > Link Manager

This menu choice opens the Link Manager's main window. For more information about the Link Manager, see The Link Manager.

Link > Clear Endpoint

This menu choice removes an existing endpoint for the selected document. See Link > Clear Endpoint.

Search

This menu choice searches for text in SDL, MSC, HMSC, Object Model, and State Chart diagrams. Textual documents (C Header, Text ASN.1, Text IDL and Text Plain) are also searched if the Text Editor is used. (The Text Editor is used if the preference variable SDT* TextEditor is set to "SDT.") It is not possible to search in TTCN, Word or Generic documents with this menu choice. To search in TTCN documents, use TTCN > Find Table.

The document scope of the search depends on the selection:

The menu choice is dimmed if the selected document is not a root document, not connected, or marked invalid.

The search will only take place in diagrams that are connected and do not have an invalid status. The search will start in the selected diagram and continue in top-down order for the rest of the diagrams (the order is left-right in a tree view).

The search function will go through the list of diagrams and stop each time the search criteria, as set in the dialog below, matches. If a search/replace string or any option is changed when the search is stopped (a match is found or the user pressed Abort), these values become the basis when the search is continued.

The search process will open an editor window, if necessary, and select the matched search text.

The searching is based on ASCII character matching. All text fragments in symbols are searched, with a few restrictions (see below).

The Search dialog is modal, which means that the Organizer is locked for other user input during the search. When all diagrams have been searched, a beep is issued and the message Search completed appears in the dialog to inform the user.

Figure 56 : The Search dialog

Extracted pic [41]

Dialog Fields and Options

The Search dialog contains the following fields and options. The default settings when first invoked are shown in the figure above. Values from the previous invocation is used for settings when the dialog is used again.

Note: 

Only the textual elements that are visible in an MSC will be searched. See Diagram Options.

Dialog Buttons

When the dialog is first opened, all buttons except Replace&Search and Replace All are enabled. When Search, Replace&Search or Replace All is pressed all fields and buttons are disabled except the Close button. (The Close button changes name during the search to Abort.) If a search string is found in an editor, it is selected and all buttons and fields are enabled.

When the first search or replace operation has been applied and control returns to the Search dialog, it is possible to perform a new search on the same diagram(s).

Search Restrictions

All data in the editors that affects the diagram structure maintained by the Organizer (primarily reference symbols and kernel headings in the SDL Editor) is regarded as read only during the search operation. That is, they are not affected by the search.

Externally editing (i.e. through means other than using replace) of a diagram during a search operation completely resets the search, i.e. the next search starts from the first diagram.

The search may fail if dialogs are opened in the editor during the search. In this case the editor blocks the continuation of the search process. To continue the search process, the editor dialog must be closed.

The Organizer's data is locked during the search process. This is normally not noticed since the Search dialog is modal, but the SDL Editor needs to access that data to perform operations affecting the diagram structure. The Organizer will deny the editor's requests to modify the data structure. The duration of the search process is the period of time during which the Search dialog is visible in the Organizer.

Change Bars

This menu choice is used to control the usage of change bars in SDL diagrams. A dialog with two options is opened:

Diff

This menu choice compares the contents of SDL diagram file pairs. A diagram file pair is constructed by matching an SDL diagram file loaded into the Organizer with an SDL diagram file with the same name, but in a different directory.

Note: 

There is a similar operation in the SDL Editor for comparing one SDL diagram pair at a time. See Diff.

The menu choice is dimmed if there are no SDL diagrams in the Organizer.

In the same way as for the Search menu choice, the diff operation is limited by the selection in the Organizer. Only SDL diagrams within the scope of the selection will be considered for the diff operation.

When the diff menu choice is invoked, the diff setup dialog appears.

Figure 57 : The Diff Setup dialog

Extracted pic [42]

In the diff setup dialog, the following input parameters to the diff operation can be specified:

When the OK button in the dialog is pressed, the Organizer checks if a matching diagram can be found for all SDL diagrams in the operation. If that is not the case, a dialog appears to inform about this fact.

Figure 58 : The Diff missing files dialog

Extracted pic [43]

Finally, the real diff operation starts in the SDL Editor. Read more about this in Diff.

Split

This menu choice is used to split one SDL diagram into two SDL diagrams. This menu choice can be applied several times to split one SDL diagram into several parts. This menu choice is, together with the menu choice Join, useful in situations where several people have to work simultaneously on one SDL diagram. The SDL diagram file is partitioned into several SDL diagram files and each person is given one part to work on.

To split an SDL diagram consisting of several pages, select the diagram symbol in the Organizer and select the Split menu choice. (It is also possible to select a page symbol associated with the diagram that should be split.)

A dialog appears with a list of all pages but the first one in the diagram, see Figure 59. Select a page to define how the SDL diagram should be split. All pages before the selected page will end up in the first SDL diagram part. The selected page and all pages after the selected page will end up in the second SDL diagram part.

Figure 59  : The first Split dialog

Extracted pic [44]

The Split button in the first Split dialog closes the dialog and brings up the second Split dialog, as shown in Figure 60. The second Split dialog is used to specify the files that the two resulting SDL diagram parts should be saved in.

Figure 60  : The second Split dialog

Extracted pic [45]

When the second Split dialog is closed with the Save button, the split operation is performed: The SDL Editor is loaded with the SDL diagram that should be split. Two new smaller SDL diagrams are created in the SDL Editor and saved under the file names specified in the second Split dialog.

The visible result of the Split operation is that the SDL Editor contains at least the diagram that was split and the resulting SDL diagram parts. Note that no additional symbols are created in the Organizer. The SDL diagram parts are accessed by opening the SDL diagram part files in the SDL Editor with the Open menu choice. It is of course possible to manually add symbols for the SDL diagram parts in the Organizer with for instance the Add Existing menu choice.

Join

This menu choice is used to join two SDL diagrams of the same type into one SDL diagram. This menu choice is, together with the Split menu choice, useful when several people have to work on the same SDL diagram at the same time.

Note that it is not necessary to do a Split before doing a Join. One way to work in parallel on the same diagram is to let one designer work on the existing SDL diagram, while another designer creates new pages destined for the same SDL diagram, in a new SDL diagram with the same type as the existing SDL diagram. A join operation when the parallel work is finished puts the new SDL pages in the correct SDL diagram.

The resulting SDL diagram is produced by copying the complete first diagram part and merging/joining pages from the second diagram part by copy and paste. This means that information that is common for all pages in an SDL diagram is taken from the first diagram part. This includes:

Another consequence of this way of working is that duplicate page names and reference symbol names emerging from the second diagram part are changed by the join operation to make them unique. Auto-numbered pages from the second diagram part will also have their names changed.

When the Join menu choice is invoked, the Join dialog appears, see Figure 61.

Figure 61  : The Join dialog

Extracted pic [46]

In the dialog, specify the names of the two SDL diagram files that should be merged. Pressing the Join button will close the dialog and start the Join operation.

The result of the Join operation is that three diagrams will be loaded in the SDL Editor; the two SDL diagram parts that act as input to the Join operation and a new and unsaved SDL diagram that contains all the pages from both the input diagrams. The first thing that you will normally do after a Join operation is to save the new SDL diagram in a file. After that, it might be appropriate to check the new SDL diagram in the context of the SDL system with the Analyzer.

Editors > MSC Editor

Adds an MSC diagram symbol to the Organizer view, and starts the MSC Editor. The symbol is added at the same place as when using the Add New command.

Editors > HMSC Editor

Adds a HMSC diagram symbol to the Organizer view, and starts the HMSC Editor. The symbol is added at the same place as when using the Add New command.

Editors > OM Editor

Adds an Object Model diagram symbol to the Organizer view, and starts the OM Editor. The symbol is added at the same place as when using the Add New command.

Editors > State Chart Editor

Adds a State Chart diagram symbol to the Organizer view, and starts the State Chart Editor. The symbol is added at the same place as when using the Add New command.

Editors > SDL Editor

Adds an SDL System diagram symbol to the Organizer view, and starts the SDL Editor. The symbol is added at the same place as when using the Add New command.

Editors > Text Editor

Adds a Plain Text document symbol to the Organizer view, and starts the Text Editor. The symbol is added at the same place as when using the Add New command.

Editors > TTCN Browser

Adds a TTCN module symbol to the Organizer view, and starts the TTCN Browser. The symbol is added at the same place as when using the Add New command.

SDL > Type Viewer

This menu choice starts the Type Viewer. It is dimmed if there is no SDL diagram in the Organizer, or if the preference SDT* StartInformationServer is set to false. Only one instance of the Type Viewer exists. If the Type Viewer has already been started, its window is raised.

If a Referenced Diagram Type icon, an Instance Diagram icon or a Dashed diagram icon is selected in the Organizer, the Type Viewer selects the corresponding symbol when this menu choice is used.

The Type Viewer is described in The Type Viewer.

SDL > Coverage Viewer

This menu choice starts a Coverage Viewer. A new instance of the Coverage Viewer is started each time this command is selected.

The Coverage Viewer is described in The Coverage Viewer.

SDL > Index Viewer

This menu choice starts an Index Viewer. A new instance of the Index Viewer is started each time this command is selected.

The Index Viewer is described in The Index Viewer.

SDL > Simulator UI

This menu choice starts a new, empty Simulator UI. Several Simulator UI's may exist at the same time.

The Simulator UI is described in Graphical User Interface.

SDL > Validator UI

This menu choice starts a new, empty Validator UI. Several Validator UI's may exist at the same time.

The Validator UI is described in Graphical User Interface.

SDL > Cmicro Tester UI

This menu choice starts a new, empty Cmicro Tester UI. The Cmicro Tester UI is described in Graphical User Interface.

TTCN > Find Table

This menu choice invokes the find table operation on a selected TTCN system. In Windows, this functionality is not available and the menu choice is dimmed.

For more information about the find table operation on UNIX, see Finding Tables. For more information about finding tables in Windows, see Finding and Sorting Tables.

TTCN > Access

This menu choice starts a TTCN Access application for a selected TTCN document/system.

Note: 

This operation is only available on UNIX.

For more information, see ITEX Access.

TTCN > Simulator UI

This menu choice starts a TTCN simulator UI.

For more information about this, see The ITEX Simulator (on UNIX) or The ITEX Simulator (in Windows).

Preference Manager

This menu choice starts the Preference Manager. Only one instance of the Preference Manager exists. If the Preference Manager has already been started, its window is raised.

The Preference Manager is described in The Preference Manager.

Help Menu

For more information about Help menus in Telelogic Tau, see Help Menu. One of the Organizer Help menu choices is described in more detail below.

License Information

Opens a dialog with license information for all tools in Telelogic Tau.

Figure 62  : The License Information dialog

Extracted pic [47]

The dialog contains the following:

Abbreviation Telelogic Tau Tool(s)

Telelogic

Organizer

SDT-Base

SDL Editor, SDL Analyzer and SDL Viewers.

SDT-OME

Object Model Editor and State Chart Editor

SDT-MSCE

Message Sequence Chart Editor and High-Level Message Sequence Chart Editor

SDT-Cbasic

Cbasic Code Generator

SDT-Cadvanced

Cadvanced Code Generator

SDT-Cmicro

Cmicro Code Generator

SDT-Cmicro-Bodybuilder

Cmicro BodyBuilder

SDT-Cmicro-Tester

Cmicro Simulator UI

SDT-X1 (UNIX only)

<Configuration dependent>

SDT-Chill (UNIX only)

CHIPSY CHILL Code Generator

SDT-ETRI-CHILL (UNIX only)

ETRI CHILL Code Generator

SDT-Samsung-CHILL (UNIX only)

Samsung CHILL Code Generator

SDT-Validator

Validator Library

SDT-Simulator

Simulator Library

SDT-Application

Application Library

SDT-Performance

Performance Simulation Library

SDT-TTCN-Link

Interactive link to ITEX

ITEX-Base

TTCN Browser, TTCN Table Editor and TTCN Analyzer

ITEX-Access

ITEX Access API Library

ITEX-Simulator

ITEX Simulator

ITEX-C-Code-Generator

ITEX C Code Generator


1. The SDT-X is a generic name that allows to introduce new code generators that are under development. In "normal" SDT installations, it has no meaning.


1. ORCA is part of the Telelogic product suite and stands for Object oriented Requirement Capture and analysis.

2. X is reserved for future extensions in SDT applied to code generation.

3. The TTCN-Link kernel is described in the ITEX manuals.


[Previous] [Next] [Contents] [Index]