Interactive Attach

Useful Terms

acceptor
the text window into which you are importing data.
donor
the object or class from which you are importing data
Attach allows you to move information from one object or group of objects into the for another object. This is useful for viewing convenience, printing, and dumping. Attach is complex but extremely powerful; we recommend learning about it via experimentation. It is still being developed and will probably be extended to include additional features.

Menu items:

Making an attachment

1. First you must choose a single or group of donor objects from which to retrieve information. Do this by selecting (clicking once) on a tag or object in the acceptor window. If you click a tag, ACE looks to the right to determing the object or objects in the donor class(es). Note that data in a text window is arranged in a branching structure which functions as a hierarchical outline. A tag identifies all objects "under" it as potential donors.

2. Second, you must choose which part of the donor to retrieve.

Select "Attach" from the pull-down "Attach..." menu (see below for "Attach Recursively"). A tag chooser window will appear. The tag chooser shows the layout of the donor class. In cases where a tag identifies donors from different classes, the tag chooser shows the class for the donor on the same line as the tag.

Again, data in objects is arranged in a branching structure which functions as a hierarchical outline. To identify a branch or sub-branch to import, double-click on a tag or field. Choose a tag if you want to import the branch it defines, i.e., the tag itself as well as everything "indented" under that tag.

Choosing a field gives a different effect. ACEDB identifies the branch that contains the field by looking leftward until it encounters a tag. But instead of importing the entire branch, only the part of the branch that contains the field of interest is taken.

The tag chooser will only show a single class. However, if your donors come from different classes, ACEDB will silently examine them to see if they contain a branch like the one you chose in the tag-chooser.

As soon as you double-click, the tag chooser will disappear.

3. Third, the donor you originally selected will now be collapsed (indicated by arrow and number). Uncollapse it by clicking once to see the attached information. See help for text windows for more information about collapse/expand.

Detatch

To remove imported information, pick the donor in the acceptor window and select the "Detach" item from the menu. The information will still be visible in the acceptor until you collapse and expand the donor by clicking on it. If a text window opens instead, that's because you clicked on an object name. Try collapsing and expanding a tag to the donor's left instead.

Attach Recursively

In some cases objects are linked together in a recursive fashion. For example, in a cell lineage a particular cell may have one or more daughters, each of which may have daughters, and so on. A recursive attachment allows you to follow these links and import information from them into the same acceptor window.

to Table of Contents

last edited: July 1994