-- Desktop.tioga -- Filed on: [Indigo]Documentation> -- Last edited by: Maxwell on: January 31, 1983 1:57 pm <<>> Cedar 4.0 will contain a simple implementation of the desktop configuration notion that I outlined in a recent message to CedarDisscussion^. The implementation is limited in some ways because I couldn't make changes to any of the Viewer defs. I would appreciate it if y'all try it out before it gets released. There are two parts to my program: a button in the upper right corner called "Clean" which clears the icon area of unedited Tioga documents, and a new viewer class "DeskTop" which saves configurations of viewers. When the button "Clean" is clicked, all of the unedited Tioga documents in the icon area will be deleted and a new icon called "MRUCache" will appear on the right. Opening the icon will reveal a cache of the most recently deleted files. A particular file can be recovered by clicking at its name. Clicking a file name while holding down the shift key causes the file's viewer to be grown after it is opened. (Think of shift middle button in the icon area.) The files in the MRUCache do not consume VM space; only the names are stored. The MRUCache is a special case of a desktop viewer. To get a real desktop viewer, click the "New" button in the MRUCache's menu. (This is the only way currently to get a new desktop. Hopefully, by the release there will be a UserExec command.) A desktop understands the following commands: "Save": Saves the current configuration of open viewers. Remembers their columns, heights, and positions. Remembers the position of the column boundary. Doesn't record the iconic viewers. This command can be invoked on an iconic viewer by selecting the viewer and typing 'S. "Open": Firsts "Saves" the currently open configuration (the one that is displayed as an edited document) and then restores the screen to a former configuration of viewers. All of the current viewers are closed and then new ones are opened in their former columns, heights, and positions. The column boundary is adjusted if necessary. If a Tioga viewer has been destroyed a new one will be created. If a non-Tioga viewer has been destroyed no attempt will be made to create a new one. This command can be invoked on an iconic viewer by clicking the viewer with CONTROL middle button or by selecting the viewer and typing control 'O. "Reset": Closes the currently open configuration without saving the state of the screen. This allows you to open a new configuration without losing an old one. This command can be invoked on an iconic viewer by selecting the viewer and typing control 'R. "Rename": Renames the desktop viewer with the current selection. "AddSelected": Adds the currently selected viewer to the desktop. Report any bugs to me. Thanks. John.