Getting Started
Getting Started
Preface
Notices
Trademarks
About this book
Who this book is for
What's new?
Conventions used in this book
Tell us what you think
Overview
What is VAST Platform?
Expressive written code
Powerful visual programming cabability
Starting up
Environments
Creating a Development Environment
Launching a Development Environment
Saving your work
A guided tour: Creating your first Smalltalk application
Creating the application STCalculatorApp
Creating the class STCalculator
Defining the class
Adding the method open
Testing STCalculator
Finishing the open method
Finishing the user interface
Fixing errors
Browsing CwRowColumn
Adding functions
The Classes Browser
Adding the remaining methods
Debugging the calculator
Introducing the Debugger
Tidying up the Calculator application
Extending another class
Categorizing methods
Public and private methods
Checking prerequisites
One last change
Summing up
The Power of Smalltalk
Software components
Classes
Defined classes
Extended classes
Visible classes
Public classes and private classes
Methods
Viewing methods
Method categories
Applications
Applications group classes
Applications relate to other applications
Subapplications
Configuration maps
Team Concepts
Smalltalk Development Tools
Using a Transcript or Workspace window
Text editing
Evaluating Smalltalk expressions
The Application Manager
Method visibility
The Classes Browser
The Class Browser
The Application Browser
The Debugger
Constructing your first visual application
Creating a Visual Part
Editing the Visual Part
Building the To-do List User Interface
Changing the title bar text of a Window part
Adding Text and Label parts
Adding a List part
Adding Push Button parts
Sizing and aligning visual parts
Correcting mistakes
Working with nonvisual parts
Connecting parts
Attribute-to-attribute connections
Event-to-action connections
Saving and testing the To-do List application
Making the To-do List an executable application
Making your application executable
Running the To-do List application
The Visual Programming Paradigm
Key concepts
The Visual Development Tools
Organizer
Composition Editor: an Introduction
Working with Parts
Changing the labels of parts using direct editing
Changing the settings of parts
Tearing off an attribute from a part
Connecting parts
Making connections
Dragging parts
Script Editor
Public Interface Editor
Composition Editor: going deeper
VAST user interface parts
Manipulating parts
Resizing, aligning, and positioning parts
Changing part properties
Changing part colors and fonts
Connecting parts
Attribute-to-attribute connections
Event-to-action connections
Event-to-script connections
Attribute-from-script connections
Parameter-from-attribute
Parameter-from-action
Parameter-from-script
Changing the Properties of connections
Connection parameters
Manipulating connections
Constructing your second visual application
Creating the Investment application using the Organizer
Creating the Investment application visual parts
Creating the Investment application main window
Changing part properties
Validating and formatting data
Making a text part read-only
Checking a Toggle Button by default
Specifying a default Push Button part
Setting a Push Button part to disabled
Sizing parts automatically
Changing part names
Making the connections
Saving and testing
Adding Window and Form parts
Creating a reusable part
Creating application secondary windows
Adding a reusable part and connecting to it
Working with View Wrapper parts
Connecting to a View Wrapper
Saving and testing your work
Setting tab order
Adding menus
Adding menu parts
Adding menu choices
Review your work
Creating the application executable
Results of packaging the application
Running the application
Looking ahead
What's next?
Index