Try OpenEdge Now
skip to main content
Online Help
Introducing the ABL GUI Designer : Reference : GUI Designer dialogs : AppBuilder dialogs : New ADM Class dialog
 
New ADM Class dialog
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.
You can access this dialog from the File menu, by choosing New ADM Class.
Note: The first step in creating a new ADM2Class is to specify a class name in the Name field. Once you provide a class name, all of the file names are automatically generated. This is done to provide (or at least to suggest) a standard file–naming convention that is consistent with the standard ADM classes. The files can then be renamed if needed, but once the new class is saved they can no longer be changed.
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 ProtoGen 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