Using an existing class as a template
To define a class by using an existing class as a template, do the following:
1. Open an Applications Browser, Classes Browser, Application Browser, or Hierarchy Browser. These are standard browsers.
2. Select a containing application and a class whose definition closely matches the class you are creating. The class's definition is displayed in the description pane.
3. Edit the superclass name and the class definition so it defines the new class. For example, to define a subclass of Object named TestClass, change the displayed class definition so it reads:
Object subclass: #TestClass
instanceVariableNames: ' '
classVariableNames: ' '
poolDictionaries: ' '
4. Select Save from the Edit menu. This adds the new class to the containing application.
Last modified date: 01/29/2015