LispWorks IDE User Guide > 8 The Class Browser

NextPrevUpTopContentsIndex

8.1 Simple use of the Class Browser

This section describes some of the basic ways in which you can use the Class Browser by giving some examples. If you wish, you can skip this section and look at the descriptions of each individual view: these start with Examining slot information.

When examining a class, the slot names of the class are displayed by default.

To examine a class, follow the instructions below:

  1. Create a push button panel by entering the following in the Listener:
  2. (capi:contain 
     (make-instance 'capi:push-button-panel 
                    :title "Test Buttons" 
                    :items '(:one :two :three)))

    The push button panel appears on your screen.

  3. With the Listener as the active window, choose Works > Values > Class .
  4. This invokes the Class Browser on the button panel. The class capi:push-button-panel is described in the Class Browser.

Figure 8.1 Examining classes in the Class Browser

Notice that, although you invoked the browser on an object that is an instance of a class, the class itself is described in the Class Browser. Similarly, if you had pasted the object into an Inspector, the instance of that object would be inspected. Using the environment, it is very easy to pass Common Lisp objects between different tools in this intelligent fashion. This behavior is achieved using the LispWorks IDE clipboard; see Using the Object operations with the clipboard for details.

See Performing operations on selected objects for a full description of the standard action commands available.

8.1.1 Examining slots

8.1.2 Examining inherited slots

8.1.3 Filtering slot information

8.1.4 Examining other classes

8.1.5 Sorting information


LispWorks IDE User Guide (Windows version) - 22 Dec 2009

NextPrevUpTopContentsIndex