User's Guide
Before you create the part's class, create a VisualAge
application to contain the part:
- From the Applications menu of the VisualAge Organizer window,
select New.
- In the New Application window, type a name for your new application in the
Name field, such as MyRunSamplePartsApp; then
select OK. The application appears in the
Applications pane.
- Select the application, MyRunSamplePartsApp, and then select
New > Part from the full
Parts menu.
- In the Part class field type MyTimer as the name of
your part. From the Part type drop-down list, select
Nonvisual part, and then select OK.
The Composition Editor opens on the MyTimer part class.
Note: | This section refers throughout to specific application and class names, such
as MyRunSamplePartsApp and MyTimer so, to make following
the examples easier, use the names suggested.
|
Don't worry about defining any methods yet. In the next step,
you use the Public Interface Editor to generate most of the methods.
Later, you use the Script Editor to finish writing logic for the timer.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]