New ADM Class dialog
- Last Updated: December 19, 2024
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The New ADM Class dialog allows you to create a new ADM2Class.
ADM class is a collection of files that define properties and run-time routines for a particular SmartObject or family of SmartObjects.
The Basic tab on the New ADM Class dialog includes the following fields:
| Field name | Description |
|---|---|
| Name | Specify a name for the ADM 2 class. This name
serves as a base name for the name of all the files. This is a mandatory field. |
| Class Definition File | Specify a file that references the components of
a class. The extension must be .cld. This is a mandatory field. |
| Source Directory | Specify the path where the source files will be
generated. Click Browse to
select a different path. This is a mandatory field. |
| Rcode Directory | Specify the path where the r-code for the super
procedure is generated. Click Browse to select a different path. This is a mandatory field. |
| Template Directory | Specify the location of the template file. Click
Browse to select a
different location. This is a mandatory field, if a template file name is provided in the Template field. |
| Derive From Class | Class definition file (.cld) to subclass. Click Class to browse and select a class definition file. |
| Method Library | Specify a file that defines the class name,
references a property file, and starts the super procedure. The
extension must be .i. This is a mandatory field. |
| Property File | Specify a file that defines class properties. The
extension must be .i. This is a mandatory field. |
| Super Procedure | Specify a file that defines get/set functions for
readable/writable properties. It defines new behavior for the class.
The extension must be .p. This is a mandatory field. |
| Prototype File | Specify a file that references functions and
internal procedures of a super procedure. The extension must be .i.
The contents of this file can be generated by using the General PRO*Tools utilities
tool from the PRO*Tools toolbar. This is a mandatory field. |
| Template | Specify a name of the template file. References the method library of the class. |
| Copy From Template | Specify a template file to copy from. Click File to browse and select a template file. |
| Open files in the AppBuilder once generated | Select this option to open the generated files in AppBuilder. |
The Custom Files tab on the New ADM Class dialog lists the files to be generated to allow customization of the new class you have created. The fields available on this tab are read-only fields.
For more information, see AppBuilder dialogs