Before you can define the custom property definition that will use the new enumerated list you just defined, you must first define an interface that will expose the property definition.
-
In the tree view, right-click InterfaceDef, and click Create New InterfaceDef.
-
For the new interface definition, provide a name, such as IAcmePublishedItem.
-
Click the browse button beside the Realized by class box, and select all the publish class definitions that represent objects that will use the new property. For this example, the property will be used by instruments, so the class definition MTRInstrument is required.
-
Click the browse button beside the Implied by interface definitions box, and select IMTRInstrument.
-
Click the browse button beside the Implies interface definitions box, and select IObject.
-
Click the browse button beside the Property category box.
-
Select Miscellaneous in the Unused enumerated values list, click Add to move it to the Used enumerated values list, and click OK.
You can also provide additional details about the new interface definition, such as description and display name, as necessary.
-
Click OK.