IBM
Contents Index Previous Next



The Drawing Area


Popup Menus

You invoke a popup menu with the right mouse button. A menu choice in a popup menu generally have the same name and work in the same way as a corresponding menu choice in the menu bar.

There are two types of popup menus: context sensitive popup menus and the background popup menu.

Context Sensitive Popup Menus

Objects visible in the drawing area may have associated popup menus, whose contents may vary with the type of the object.

In the SDL Suite, a context sensitive popup menu can be displayed in two slightly different ways:

In the TTCN Suite, the popup menu always applies to the object the mouse pointer is placed on, but the current selection does not change. If you right-click on the background of the drawing area, outside of any visible object, the background popup menu is displayed, regardless of any current selection.

The Background Popup Menu

In the SDL Suite, the background popup menu is displayed if you right-click on the drawing area background, and there is no current selection in the drawing area. This popup menu contains some of the most important and/or commonly performed menu choices from the menu bar. The popup menu choices operate on the whole file, document or drawing area, in the same way as the corresponding menu choices from the menu bar do.

In the TTCN Suite, the background popup menu is always displayed if you right-click on the drawing area background, regardless of any selected objects.

List and Tree Structures

Many tools can present a hierarchical structure in two ways; as a list structure and as a tree structure. The example below is from the Organizer.

Figure 4 : List and tree structures

It is possible to switch between the two structures if you select an Option menu choice on the View menu. It is also possible to collapse and expand nodes in a hierarchical structure with the Expand and Collapse commands in the View menu. A collapsed node is indicated by a small triangle below the node:

Figure 5 : Collapsed nodes in list structure

Selections and Input Focus in the TTCN Suite (on UNIX)

In the TTCN Suite on UNIX there is a difference between selection and input focus. Selection is a marked item or text string. You select items with the left mouse button. The input focus is set when you point to an item and click with the middle mouse button. The input focus is indicated by a rectangular border surrounding the relevant item.

Figure 6 : Selection and input focus in the TTCN Suite on UNIX


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