![]() |
![]() |
![]() |
![]() |
![]() |
Controlling the Items in the Browser
Selecting Items
There is a difference between selection and input focus. Selection is an inverted item or text string. The input focus is indicated by a rectangular border surrounding the relevant item. Keyboard commands operate on the item with input focus, not the selection.
Point and click once to select a single item in a Browser - note that this also sets the input focus. Selecting a new item will deselect the previous item (if any).
To select several items, press <Ctrl> while selecting items. Note that the input focus is set to the last selected item. Pressing <Ctrl> while selecting items works in toggle mode: a selected item will be deselected and vice versa.
To select a range of items, select the first, and then press <Shift> and click on the last item in the range.
When clicking the middle mouse button, the input focus will be set to the new item. The selection will not be changed.
You can also select items by using:
- The popup menus, see Using Popup Menus.
- Selector, see Using More Complex Selections.
- Compare, see Comparing TTCN Documents.
Controlling What is Displayed
The View menu is used for deciding how much of the test suite that should be displayed in a Browser. This is useful when you work with large test suites. This menu also contains commands to access any opened Table Editor and to close all opened editors, as well as to access any loaded TTCN document.
View > Collapse
Hides all items under the marked item. A collapsed item is indicated by an ellipsis (...). A shortcut for Collapse is to type <c> without invoking the View menu.
View > Expand
Displays all items at the next level below the marked item. A short-cut for Expand is to type <e> without invoking the View menu.
View > Expand Tree
Displays all items at all levels below the marked item. A short-cut for Expand Tree is to type <Shift+e> without invoking the View menu.
View > Close All Editors
Closes all open Table Editors, regardless of which document they belong to.
View > Show Editor
This sub menu presents a list of all open Table Editors, in any TTCN document. By selecting an item in this list, the corresponding Table Editor is brought forward.
View > Show Document
This sub menu presents a list of all loaded TTCN documents. By selecting an item in this list, the main Browser of the corresponding document is brought forward.
Creating a Sub Browser
Sub Browsers may be created to display selected portions of a test suite. These selections may be made manually or with the Selector (see above).
This facility is useful when working with a large test suite or with items that fulfil certain criteria.
Tools > Browser
Causes a sub Browser to be displayed containing only the selected items from this Browser. There is no limit on the number of sub Browsers that may be displayed.
Closing the main Browser also closes any sub Browsers that are opened.
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |