Tree

## Tree (Text) Display

Many objects in the database can be examined in text windows, including objects that are usually viewed in special displays (e.g., loci on maps and maps themselves). The term "tree" refers to the fact that the data is arranged in a branching, hierarchical structure that functions as an outline--possibly with many levels of indentation.

### Buttons

- Quit: destroys this window.
- Tables... : this button is only present if a TableMaker command file has been registered with the class of the current object in the file wspec/table.menu.wrm. If present, the button contains a sub-menu with the list of these tables which are selected with the right mouse button. If you choose a table, the TableMaker is launched and the table displayed.
- Attach: Allows you to graft information from a related object directly into the window. First pick an item by clicking on it once. The item must be a link to another object or a tag adjacent to the left of such a link. The attach button brings up a BLOCKING tag chooser window which lets you select what part of the related object to graft. You can graft any branch or sub-branch by double-clicking on a node in the tag chooser. Help for Attach and for the Tag Chooser are available.

### Menu items:

- Quit: quits the window.
- Help: brings up this help.
- Print: prepares a Post Script file in ./PS which you can then print on your local laser printer.
- Update: Lets you edit the object, only if you have write access. See help on Update for more information.
- Toggle Timestamps: Displays to the right of each node the information on who/when last updated that value, this information corresponds to one of the session object which can be seen from the admin/session control menu of the main window
- Show selected object as text: Displays the selection in a text window if possible, rather than graphically as may happen when you double click a box.

### Special action tags

The model for any class may contain special tags which launch special actions in the tree display. You can add these tags to any class in the database models. The fields that the models are expected to define to the right of the tag vary. A double click on the tag-name in the tree display will launch the special action.

Pick_me_to_call
  Calls up an external program. Has two Text fields to the right of the tag. The first is the script name, the second one it's arguments.
  Often present in class Image, to display an externally stored image file using the 'display_script'.

Gel
  Launches the Gel Pattern display. The field to the right of the tag should contain the sub-model #Bands, which is a list of integers containing band lengths or migration distances.

E_mail
  Opens the configured mailer with the email address as it's argument. The address is expected one field to the right of the E_mail tag.
  The script `$ACEDB/wscripts/acedb_mailer` is invoked by this action, nothing will happen apart from a warning on the command line if this script can't be invoked.

to Table of Contents

last edited: May 1999