next up previous 194
Next: Types of node
Up: The Treeview window
Previous: Toolbar

Menu bar

The menu bar operates in the usual way, and contains the following menu items:

File menu

Open
Brings up a dialog box in which you can choose a new file to add as a top-level node of the tree. When you select a file and click the `Add node' button in the selection dialog it will be added as the bottom line in the tree display window.
Exit
Exits Treeview without further ado.
View menu

This menu allows you to choose where the detail display window is displayed, if at all. Only one of the radio buttons can be selected at any one time:
Details beside
The details panel is shown to the right of the tree panel.
Details below
The details panel is shown below the tree panel.
No details
The entire window is used for the tree panel; no details display is shown.
Tree menu

Collapse selected
The selected node is closed, so that its children are no longer visible. This option is not available if no node is currently selected, or if the selected node is already closed.
Expand selected
The selected node is opened, so that its children become visible. This option is not available if no node is currently selected, or if the selected node is already open.
Recursive collapse selected
The selected node, and all its children, and all its children's children... are closed, and if it is opened again its children will be treated as if they had not been encountered before, and re-read. This will be slower, but may result in more up-to-date information about the nodes. Since the child nodes are forgotten during a recursive collapse, this may be useful if viewing very large data structures if memory needs to be freed up. This option is not available if no node is currently selected.
Recursive expand selected
The selected node, and all its children, and all its children's children... are opened. This enables you to see the entire contents of a given node. If performed on a node containing a lot of data, e.g. a directory containing many HDS files, it can result in many nodes being added to the tree which may be slow. This option is not available if no node is currently selected.
Recursive collapse all
All the children of all the top-level nodes, and all their children, and all their children's children... are collapsed. This returns the tree state to what it was when the application started (apart from any nodes added using the File|Open menu). Children of the top-level nodes will be re-read if they are opened again, though note the top-level nodes themselves will not.
Recursive expand all
All the children of all the top-level nodes, and all their children, and all their children's children... are expanded. This means that every node at every level within the top-level nodes will be visible. If some or all of the top-level nodes represent large data structures, this can be rather a long job. This option should be used with care.
Help menu

Show help text
A short help message is displayed in the details display panel. This has the side-effect of deselecting any currently selected node.
Show user document
This document (SUN/244) is displayed in the details display panel. This has the side-effect of deselecting any currently selected node.
Most of the actions available from the menu are also available from the toolbar and/or in other ways.



next up previous 194
Next: Types of node
Up: The Treeview window
Previous: Toolbar

TREEVIEW - Hierarchical data viewer
Starlink User Note 244
Mark Taylor
30 October 2001
E-mail:ussc@star.rl.ac.uk

Copyright © 2001 Council for the Central Laboratory of the Research Councils