| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |
| <meta http-equiv="Content-Style-Type" content="text/css"> | |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> | |
| <title> | |
| Java scrapbook page | |
| </title> | |
| </head> | |
| <body> | |
| <h1> | |
| Java scrapbook page | |
| </h1> | |
| <p> | |
| The scrapbook allows Java expressions to be run, inspected, and displayed, under the control of the debugger. | |
| </p> | |
| <p> | |
| <strong>Note:</strong> Content assist (such as code assist) is available on scrapbook pages. | |
| </p> | |
| <table border="1" cellspacing="0"> | |
| <caption> | |
| Java Scrapbook page buttons | |
| </caption> | |
| <thead> | |
| <tr> | |
| <th rowspan="1" colspan="1"> | |
| <p> | |
| Command | |
| </p> | |
| </th> | |
| <th rowspan="1" colspan="1"> | |
| <p> | |
| Name | |
| </p> | |
| </th> | |
| <th rowspan="1" colspan="1"> | |
| <p> | |
| Description | |
| </p> | |
| </th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| <tr> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <img src="../images/ref-20.gif" align="baseline" width="16" height="16" alt="Run Snippet button"> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| Run Snippet | |
| </p> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| Running an expression evaluates an expression but does not display a result. | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <img src="../images/ref-21.gif" align="baseline" width="16" height="16" alt="Display button"> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| Display | |
| </p> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| Displaying shows the result of evaluating an expression as a string in the scrapbook editor. | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <img src="../images/ref-22.gif" align="baseline" width="16" height="16" alt="Inspect button"> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| Inspect | |
| </p> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| Inspecting shows the result of evaluating an expression in the Expressions view. | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <img src="../images/ref-23.gif" align="baseline" width="16" height="16" alt="Terminate button"> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| Terminate | |
| </p> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| This command terminates the Java VM that is used to evaluate expressions. | |
| </p> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <img src="../images/ref-24.gif" align="baseline" width="16" height="16" alt="Set the import Declarations button"> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| Set the Import Declarations | |
| </p> | |
| </td> | |
| <td rowspan="1" colspan="1" valign="top" align="left"> | |
| <p> | |
| This commands sets the import declarations to be used for the context of evaluating the code | |
| </p> | |
| </td> | |
| </tr> | |
| </tbody> | |
| </table> | |
| <p> | |
| <img border="0" src="../images/ngrelc.gif" alt="Related concepts" width="159" height="27"> | |
| </p> | |
| <p> | |
| <a href="../concepts/concepts-11.htm">Scrapbook</a> | |
| </p> | |
| <p> | |
| <img border="0" src="../images/ngrelt.gif" alt="Related tasks" width="159" height="27"> | |
| </p> | |
| <p> | |
| <a href="../tasks/tasks-149.htm">Creating a Java scrapbook page</a><br> | |
| <a href="../tasks/tasks-151.htm">Displaying the result of evaluating an expression</a><br> | |
| <a href="../tasks/tasks-150.htm">Inspecting the result of evaluating an expression</a><br> | |
| <a href="../tasks/tasks-152.htm">Executing an expression</a> | |
| </p> | |
| <p> | |
| <a href="../reference/ref-129.htm">New Java Scrapbook Page wizard</a> | |
| </p> | |
| <p> | |
| <br> | |
| <a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" width="324" height="14"></a> | |
| </p> | |
| </body> | |
| </html> | |