Today we made a new Beta1 sample available on the Code Gallery (http://code.msdn.microsoft.com/DslTools). This sample, named ImsLocks, explains how a DSL author can prevent the DSL user from editing partially or completely his designer. This can be used for instance to provide a read-only reader for a model, or an annotation/review tool. This also browses you through the new Microsoft.VisualStudio.Modeling.Immutability namespace:
It’s important to note that:
Check out the documentation and the code to know more about this sample that shows how to make some parts of a model read-only by:
Enjoy!