Proxy class creation wizard
The New Proxy Class wizard helps you to create a new proxy class in an existing proxy project. This wizard creates a proxy stub. The proxy writer provides the logic for the proxy. For example, specify the logic for the methods and interfaces to modify the existing behavior of IBM Rational Functional Tester.
Table 1. Proxy Creation window
Option Description Default Source folder Specify a source folder for the new proxy class. Either type a valid source folder path or click Browse to select a source folder via a dialog. The source folder of the element that was selected when the wizard started. Package Specify a package to contain the new class. Either type a valid package name or click Browse to select a package. The package of the element that was selected when the wizard started. Proxy Class Name Type a valid name for the new proxy class. No default name is provided. Control Class Name Type a valid control class name for the proxy being developed, for example, java.awt.Button. No default name is provided. Modifiers Select one or more access modifiers for the new class. Choose public, default, private, protected, abstract, final, static. Note that private, protected, and Static are available only if you specify an enclosing type. public Superclass Type the name of a superclass or click Browse to select a superclass for this class. The type (not the compilation unit) that was selected when the wizard started or java.lang.Object Interfaces Click Add to choose interfaces that the new class implements. No interfaces are selected by default. Which method stubs would you like to create? Choose the method stubs to create in this class:
- Public static void main(String  args) adds a main method stub to the new class.
- Constructors from superclass copies the constructors from the superclass of the new class and adds these stubs to the new class.
- Inherited abstract methods adds to the new class stubs of any abstract methods from superclasses or methods of interfaces that need to be implemented.
Inherited abstract methods enabled.
Table 2. Proxy Feature Page window
Option Description Default Available Methods Methods pertaining to particular features such as Recording , Playback are displayed in this section. blank