User`s guide

25 Create Model Advisor Checks
25-36
instance of this class for each list view that you want to add to a Model Advisor Result
Explorer window.
Note: You do not have to create list views for every custom check.
For a code example, see “List View Definition” on page 25-54.
Define Check Actions
An action provides a way for you to specify an action that the Model Advisor performs
to fix a Model Advisor check. When you define an action, the Model Advisor window
includes an Action box below the Analysis box.
You define actions using the ModelAdvisor.Action class inside a custom check
function (see “Define Custom Checks” on page 25-30). You must define:
One instance of this class for each action that you want to take.
One action callback function for each action (see “Action Callback Function” on page
25-43).
Note:
Each check can contain only one action.
You do not have to create actions for every custom check.
For a code example, see “Action Definition” on page 25-55.