You can add domain paths to hide nodes in your generated designer's explorer. Each domain path identifies a link or a collection of links. When you type the domain path, the last segment must take the form RelationshipName.RolePropertyName. For more information, see Overview of Domain Path Syntax.
The relationship identifies the class of element at which you start to navigate, which is the same as the source class of the relationship. For example, if your domain path concludes with StateModelHasActors.Actors, the generated designer's explorer hides all the actors in a StateModel.
To add a domain path
In DSL Explorer, right-click the Explorer Behavior node, and then click Add New Domain Path.
A Domain Path entry appears under the Hidden Nodes node, which is under the Explorer Behavior node.
In the Properties window, click the value of the Content property to show a tree view of the domain path of hidden nodes in your generated designer.
注意
The last segment must take the following form: RelationshipName.RolePropertyName (for example, ActorHasElements.Elements).
See Also
Concepts
Defining Explorer Behavior in Domain-Specific Language Explorer