-
Open the Editor view. For more information, see Create New Objects and Relationships in the Schema.
-
Double-click InterfaceDef in the Create tree.
-
In the New Interface Definition dialog box, type a name, display name, and description.
Do not start the name of the new interface with the "ISPF" prefix. That prefix is reserved for use by Hexagon.
-
If you want to specify a category for properties that are exposed on this interface, click beside the Property category box and choose the category you want to assign to those properties. For more information, see the Properties Categories section of the Interface Definitions topic.
-
If you want to specify class definitions that will realize this new interface, click beside the Realized by class definitions box.
-
In the Selectable list in the Possible RealizedByClassDefs dialog box, check the boxes for the classes that will realize the new interface, and then click OK. You can select one or multiple classes.
-
If the new interface will be the primary interface for any class definitions, click beside the Primary interface for class def box. In the Selectable list, check the boxes for any class definitions for which this interface will the primary interface. Click OK.
-
Beside the Implies interface definitions box, click , and then select the interfaces that will be implied by the new interface. You can select one or multiple interfaces.
-
All interfaces must imply at least one other interface.
-
An interface will inherit all properties exposed by interface that it implies.
-
-
If necessary, click beside the Implied by interface definitions box, and then select the interfaces that will imply the new interface.
The new interface should be implied by the primary interfaces of all class definitions that realize it.
-
If you want to create properties to be exposed by the new interface definition now, click beside the Exposed property definitions box, and click New on the Possible ExposedPropertyDefs dialog box. For more information, see Create a Property Definition.
-
An interface may expose any number of properties, but it does not have to expose any.
-
Since properties are exposed by only one interface definition, there are no selectable properties on the Possible ExposedPropertyDefs dialog box until you create new ones.
-
-
Beside the Implementation of enumeration box, click , and then select the enumerated list used by this interface, if one is used.
-
In the New Interface Definition dialog box, click OK.