Skip to main content
Engineering LibreTexts

1.7: The System Browser

  • Page ID
    36469
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    The system browser is one of the key tools used for programming. As we shall see, there are several interesting browsers available for Squeak, but this is the basic one you will find in any image.

    \(\bigstar\) Open a browser by selecting Worldopen . . .class browser, or by dragging a Browser from the Tools flap.

    The system browser showing the printString method of class object.
    Figure \(\PageIndex{1}\): The system browser showing the printString method of class object.

    We can see a system browser in Figure \(\PageIndex{1}\). The title bar indicates that we are browsing the class Object.1

    When the browser first opens, all panes are empty but the leftmost one. This first pane lists all known system categories, which are groups of related classes.

    \(\bigstar\) Click on the category Kernel-Objects.

    This causes the second pane to show a list of all of the classes in the selected category.

    \(\bigstar\) Select the class Object.

    Now the remaining two panes will be filled with text. The third pane displays the protocols of the currently selected class. These are convenient groupings of related methods. If no protocol is selected you should see all methods in the fourth pane.

    \(\bigstar\) Select the printing protocol.

    You may have to scroll down to find it. Now you will see in the fourth pane only methods related to printing.

    \(\bigstar\) Select the printString method.

    Now we see in the bottom pane the source code of the printString method, shared by all objects in the system (except those that override it).


    1. If the browser you have seems to differ from the one described in this book, you may be using an image with a different default browser. See FAQ 5.

    This page titled 1.7: The System Browser is shared under a CC BY-SA 3.0 license and was authored, remixed, and/or curated by Andrew P. Black, Stéphane Ducasse, Oscar Nierstrasz, Damien Pollet via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.