Table of Contents
Preface
Chapter 1: Introduction
Chapter 2: VisualWorks
Starting VisualWorks
VisualWorks Launcher
Workspace
Using the Mouse and Pop-up Menus
Setting Up VisualWorks
Widgets
The Canvas, Canvas Tool, and Palette
Online Documentation
System Browser
Filing In and Filing Out Components
Filing In
Filing Out
Starting an Application
Saving Your Work
Chapter 3: More on the Basic VisualWorks Environment
Workspaces
The Transcript
Editing in VisualWorks Windows
Using a Browser
Adding a New Method
Adding New Classes or Methods from External Files
Changing Existing Methods
Adding a New Class
Saving Code into a File
Chapter 4: Creating GUIs with VisualWorks
Selecting, Resizing, and Moving Widgets
Single Selection Mode
Multiple Selection Mode
Selecting and Deselecting Widgets
Cutting, Copying, and Pasting Widgets
Resizing the Canvas
Setting Properties
Adjusting the Placement and Sizing of Widgets
Installing the Canvas
Creating a Menu Bar
Creating a Dialog Window
Chapter 5: Putting a GUI and its Associated Smalltalk Code Together
Class Definition for the Domain Model
Class Comment
Class Protocols and Methods
Accessing Protocols
Action Protocols
Linking Smalltalk Code to Interface Components
Aspect and Action Properties
Aspect Property
Action Property
Completing the Menu Bar
Testing the Application
Final Notes
Chapter 6: Creating a VisualWorks Application
The Problem
The Specifications
Creating the Main Window
Creating the Dialog Window
Creating the Smalltalk Classes and Methods
Customer Class
Class Definition
Class Comment
Instance Methods
Accessing Protocol Methods
Printing Protocol Methods
Operators Protocol Methods
Class Methods
PhoneBook Class
Class Definition
Class Comment
Class Methods
Instance Methods
Initialize Protocol Methods
Accessing Protocol Methods
Transactions Protocol Methods
PhoneBookInterface Class
Class Definition
Class Comment
Instance Methods
Initialize Protocol Methods
Aspects Protocol Methods
Actions Protocol Methods
Using the Application
Index