How to: Define Validation Settings in Domain-Specific Language Explorer

In DSL Explorer, you can configure validation settings for your domain-specific language definition as described in the following procedure.

To configure validation settings

  1. In DSL Explorer, expand the Editor node, and click the Validation node.

  2. In Properties window, set the validation properties to True to match the needs of your domain-specific language definition as described in the following table:

    Property

    Description

    Uses Custom

    If True, custom validation methods are employed.

    Uses Load

    If True, validation methods are employed when the solution for the domain-specific language is loaded.

    Uses Menu

    If True, validation methods are employed when the solution is right-clicked and the Validate option is clicked.

    Uses Open

    If True, validation methods are employed after a solution for a domain-specific language is opened.

    Uses Save

    If True, validation methods are employed when the solution is saved.

    For more information about how to configure validation, see Walkthrough: Adding Validation to a Domain Model.

See Also

Concepts

Working with the Editor Node in Domain-Specific Language Explorer

Adding Validation to Domain-Specific Language Solutions

Family Tree Sample

User Interface Process Sample

Class Diagram Sample

Domain-Specific Language Tools Glossary