Associating a value editor with a BOM type

You use a value editor to provide a custom graphical interface for your business-specific BOM types.

About this task

To provide a custom graphical interface to a BOM type, you associate to a value editor.You can have different implementations for the same BOM class by associating a key with the BOM class and matching the key to the implementation you created for a specific Operational Decision Manager module.

You can use a value editor with all types of rule editors: Intellirule Editor, guided editor, Web Intellirule editor, or Web guided editor. The implementation for the value editor depends on the graphical framework of the business rule editor in which you want to integrate.

Procedure

To associate a value editor to a BOM type in Rule Designer:

  1. Open the BOM Editor in Rule Designer.
  2. In the BOM Editor, open the class for which you want to define the value editor.
  3. In the Custom Properties section, click Add.

    A new custom property is created.

  4. In the Name column, click newProp and then type valueEditor.
  5. In the Value column, type the key that you want to use in Rule Designer and Decision Center to reference your interface implementation.

Results

The value editor key is now associated with a BOM class. You can implement the editor for your target Operational Decision Manager module and business rule editor.

Integration into

Rule Designer

Integration into

Decision Center

Implement a value editor for Rule Designer and then create a Rule Designer plug-in with a value editor extension point.

Implementing a value editor for Rule Designer

Sample: Custom value editor

Implement a value editor for Decision Center and then repackage the Decision Center archive to integrate and declare the value editor.

Implementing a value editor for Decision Center

Sample: Custom value editor