Integrating dynamic domains into Rule Designer

You integrate a dynamic domain into Rule Designer using a plug-in project. You can then populate and update the dynamic domain from the BOM Editor in Rule Designer.

About this task

You define dynamic domains to create a new enumerated domain for a given BOM class, and update the values of this domain dynamically. See Creating dynamic domains.

You define a Rule Designer extension that associates the value of the property domainValueProviderName with the implementation of the interface IlrBOMDomainValueProvider.

Procedure

To integrate dynamic domains:

  1. Create a plug-in project that depends on the plug-in: ilog.rules.studio.model.

    For help with creating a plug-in project, refer to Creating a plug-in project.

  2. In this plug-in, create an extension for ilog.rules.studio.model.bomDomainValueProviders.

    For help with defining a plug-in extension, refer to Defining a plug-in extension.

  3. In the extension point, set these attributes:
    • Use the name attribute to specify the value of the property domainValueProviderName.

    • Use the class attribute to specify the name of the class you created to implement IlrBOMDomainValueProvider.

  4. Deploy your plug-in.

    For help with deploying a plug-in, refer to Deploying a plug-in.

Results

The implementation of dynamic domains is now integrated into your Rule Designer installation. You can populate and update the dynamic domain from the BOM Editor in Rule Designer (see Updating a single dynamic domain and Updating all dynamic domains).