XEROX NCTableTop 2 4 1 NCTableTop 1 4 By: Randy Trigg (Trigg.pa@Xerox.COM) Stored: {qv}1.3k>library>NCTableTop, .dcom, .ted Last updated: Feb 21, 1987. INTRODUCTION This NoteCards library package defines a new card type called TableTop. A TableTop card captures the screen layout of a set of cards enabling those cards to be brought up as a group at some later time. When a TableTop card is created, the user is asked to select a set of cards (using the standard NoteCards card selection interface). The positions, shapes, and TOTOPW orderings of the card windows are saved as the substance of the TableTop card. (Information is also saved as to whether the card is shrunken and the position of its shrunken icon.) Middle button title bar menu items on the TableTop card include "Recompute TableTop," "Bring up TableTop," and "Close down TableTop." In addition the table top can be brought up and closed down remotely via a link to the table top card. Thus these operations are accessible without bringing up the TableTop card itself. Finally, the various TableTop operations are also available through a functional interface. In addition, loading this package adds a new pull-across menu item, Close Saving TableTop, to the CloseNoteFile entry on the notefile operations menu. Choosing this item saves the TableTop information for all open cards in the given notefile in a special TableTop card. Then when the notefile is next opened, the cards in that TableTop are brought up. [This package supercedes a version of table tops written by Jeff Shrager and George Cole for use in NoteCards 1.2. It also captures the functionality of Script cards as they appeared in earlier versions of IDE and the Perseus project at Harvard. Finally, this package includes the ability to save tabletops at notefile close time as was first implemented by Dave Newman.] CREATING A TABLETOP TableTop cards are created by selecting TableTop from the NewCards menu (assuming the TableTop library package has been loaded). The user selects a set of cards to comprise the table top. These cards should have open windows on the screen and should all live in the same notefile that the TableTop was created in. Alternatively TableTop cards can be created programatically as follows: (NCP.CreateCard 'TableTop <NoDisplayFlg> <Props> <ParentFileBoxes> <List of cards>) All but the last argument are documented in the Programmer's Interface manual. <List of cards> should be a list of cards in <NoteFile> having open windows. If <List of cards> is nil, then the user is bugged via the interface to select a set of cards. TABLETOP OPERATION The TableTop operations are available via the middle button menu in the TableTop card's title bar: ������×�8�ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ�ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ�"""""""""""""""""""""""""""�"""""""""""""""""""""""""""�ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ�ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ�'ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿú"""""""""�$���������������� """""""""�Œ���������������ˆˆˆˆˆˆˆˆˆ�Œ|��������üø�ˆˆˆˆˆˆˆˆˆ�$f�����€�0�`�ÿÿÿÿÿÿÿÿâ�$fxñç¼ù›ç€0ãæxaçÁH��������b�ŒfÍ›6fÍ™ŒÀ036Ìc6b¨��������H�Œ|ýƒ6fÍ™À0ó6üc6aKŒ��ð�€H�$fÁƒ6fÍ™Œ�1³6Àc6b‹Ì���€b�$fÍ›6fÍ™ŒÀ1³6Ìc6a Ìó3ÇÏžb�Œfxñæføøç€0ûæxaç m›3�fÙ²H�Œ�����À��������� mù¶æ¸H�$�����À��������� =þfŽb�$�����À��������� =˜Ìf¦b�Œ���������������� ðÌñö¼H�Œ�����������������������H�$�|�� `�üø�����������b�$�f��� `�0�`�����������b�Œ�fû|| o€0ãæxaçÀ�ÿÿÿÿÿÿÿÿÈ�Œ�|ÛfÌ lÀ036Ìc6`�ˆˆˆˆˆˆˆˆˆ�$�fÃfÌ lÀ0ó6üc6`� """""""""�$�fÃfÌ lÀ1³6Àc6`� """""""""�Œ�fÃfÌ lÀ1³6Ìc6`�ˆˆˆˆˆˆˆˆˆ�Œ�|Ãf|Ï€0ûæxaçÀ�ˆˆˆˆˆˆˆˆˆ�$���� � �������� """""""""�$����Ì� �������� """""""""�Œ����x� ��������ˆˆˆˆˆˆˆˆˆ�Œ����������������ˆˆˆˆˆˆˆˆˆ�$���������������� """""""""�$ù€��€���~ƒ�ü�� """""""""�€��À���ƒ�0��ˆˆˆˆˆˆˆˆˆ�ž<ðÏ37Àqó<0óàˆˆˆˆˆˆˆˆˆ�%³e˜Ù³6`›f1›0 """""""""�%³qøÙ›f`y›~1›0 """""""""�³€ÙŸæ`Ù›`1›0ˆˆˆˆˆˆˆˆˆ�³M˜ÙŒÆ`Ù›f1›0ˆˆˆˆˆˆˆˆˆ�$ùžxð Æ`}ó<0óà """""""""�$��������������� """""""""�Œ���������������ˆˆˆˆˆˆˆˆˆ�Œ���������������ˆˆˆˆˆˆˆˆˆ�'ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿú"""""""""�"""""""""""""""""""""""""""�ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ�ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ�"""""""""""""""""""""""""""�"""""""""""""""""""""""""""�ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ�ˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆˆ�"""""""""""""""""""""""""""�"""""""""""""""""""""""""""� Bring Up TableTop causes all the cards in the table top to be brought up in the stored regions and in the proper order. If any of the cards are already up on the screen, they'll be moved to the proper locations and reshaped if necessary. Close Down TableTop any open cards in the table top. Recompute TableTop recomputes the information stored in the table top to reflect the current positions, sizes, and TOTOPW order of the card windows. Pulling across and choosing the New Cards submenu item prompts for a new set of cards. Otherwise the original cards are used. In addition, the operations of bringing up and closing down the table top are available from the middle button link icon menu of any link pointing to the TableTop card. The item Run TableTop brings up the table top while the pull-across Close down TableTop closes down the table top. FUNCTIONS (NCTableTop.BringUpTableTop TableTopCardOrWindow) [Function] Given a TableTop card (or its window), this function causes the cards in the table top to be brought up in the regions and ordering that was saved in the TableTop card's substance. (NCTableTop.CloseDownTableTop TableTopCardOrWindow) [Function] Given a TableTop card (or its window), this function causes any open cards in the table top to be closed. (NCTableTop.RecomputeTableTop TableTopCardOrWindow) [Function] Given a TableTop card (or its window), this function causes the saved regions and window ordering for the cards to be recomputed. The TableTop's cards should be open on the screen. (NCTableTop.RemakeTableTop TableTopCardOrWindow ListOfCards) [Function] This is just like NCTableTop.RecomputeTableTop except that a new set of cards, ListOfCards, replaces the original set in the table top. KNOWN BUGS Sometimes, when closing down a table top containing many cards, your machine hangs. This is due to a race condition in TEdit. You can click in the card it's trying to close or type Ctrl-G to make it continue. �����(LIST ((PAGE NIL (FOLIOINFO (ARABIC) STARTINGPAGE# 1) (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM) FORMATINFO (ARABIC)) (174 36 288 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL))) (PAGE NIL NIL (0 0 612 792) ((FOLIO NIL (PARALOOKS (QUAD CENTERED) CHARLOOKS (SUPERSCRIPT 0 SIZE 10 FAMILY MODERN OVERLINE OFF STRIKEOUT OFF UNDERLINE OFF SLOPE REGULAR WEIGHT MEDIUM)) (282 42 72 36) NIL) (HEADING NIL (HEADINGTYPE RUNNINGHEAD) (84 744 444 36) NIL) (TEXT NIL NIL (84 96 456 600) NIL)))))�������.����È�������È�������������������������(����È� ����������������������������.����È� �����È�������������������������(����È�����������������������������(�Š�Š8�����������������������������(����È� ����������������������������(�Š�Š8������������������������������D����È��������È������� PAGEHEADING� RUNNINGHEAD����������������������MODERN� ���������MODERN� ����������MODERN� ����������MODERN� ����������MODERN� ���������MODERN�����������LOGO�������������������������������� ���������������������� HRULE.GETFN��MODERN� �������������������������� HRULE.GETFN��MODERN� �������������������������� HRULE.GETFN��MODERN� ������������������������ ��������������� HRULE.GETFN��MODERN� ������������������������� HRULE.GETFN��MODERN� �����������������������&�������������<�������������������������� �������������������Ê�������������D������������� �������������š��������������Ö��������������������������������<�������������H�������������g�������������ý��������������������������c������������,�� BMOBJ.GETFN3��MODERN� ������������������������������ß��������������#��������������¤������� �������V�������������³������� �������/��������������������������� �������������ò�������������©�������������õ�������������Ð������������� ��������������������Ó������������—�[zº