When the Class Browser is first invoked, the default view is the slots view. You can also click the Slots tab to swap to it from another view. The slots view is shown in Examining slots in the Class Browser.
Figure 8.5 Examining slots in the Class Browser
Simple use of the Class Browser introduced you to the slots view in the Class Browser. This section gives a complete description of this view. For completeness, some information may be repeated.
The areas available in the slots view are described below.
You enter the name of the class you want to browse in the Class text box. You can type in a class name explicitly, or you can transfer a class to the Class Browser using the Class standard action command in another tool, or by pasting a class in explicitly.
Note: You can use Edit > Paste to paste a class name into this area, even if the clipboard currently contains the string representation of the class name, rather than a class object itself. This lets you copy class names from other applications directly into the Class Browser. See Using the Object operations with the clipboard for a complete description of the way the LispWorks IDE clipboard operates.
The Filter area lets you restrict the information displayed in the Slots list. See Filtering information for a description of how to use the Filter area in any tool, and Filtering slot information for an example of how to use it in the Class Browser.
The main section of the slots view lists the slot names of the current class. Selecting a slot in this list displays a description of it in the Description list, and you can operate on any number of selected slots using the commands in the Slots menu.
If Include Inherited Slots is selected, slots inherited from the superclasses of the current class are listed as well as those explicitly defined on the current class. Deselect this button to see only those slots defined on the current class. You can also configure the default setting of this option. To do this raise the Preferences dialog as described in Setting preferences, then select Class Browser in the list on the left side of the Preferences dialog, and then select the Slots/Functions tab to see the Include Inherited Slots option.
setfmethods which may be used to change the slot value.
To operate on any of the items displayed in this area, select them and choose a command from the Description menu. This menu contains the standard action commands described in Performing operations on selected objects. You can operate on more than one item at once by making multiple selections in this area.
You can operate on the current class using the commands in the Classes menu. The standard action commands described in Performing operations on selected objects are available in this submenu.
LispWorks IDE User Guide (Macintosh version) - 12 Feb 2015