Alan Cameron Wills' WebLogDomain-specific modeling, languages, software factories, ...Constraints and Restrictions in MS DSL Tools- October 31, 2005 I do get irritated by over-officious tools. "You can't use that name, you've used it already over there." Well, I know, but I'm going to change that in a moment, and it'll be alright in the end, really. In the DSL Tools Customization Samples & Guide, there is a section showing you how to prevent the user from making undesirable connections, such as loops in inheritance graphs. As the user moves the mouse to complete the last link in a loop, a tooltip pops up saying "that connection would...http://blogs.msdn.com/alan_cameron_wills/archive/2005/10/31/483716.aspx Rules in the DSL Tools- October 27, 2005 In the DSL Tools Customization Samples & Guide there's some examples that use MDF rules to spot a change and react to it. (1) In the class diagram sample, attributes are displayed as a string like "aName : SomeType", and in the properties grid, the name and type are in separate properties. All three forms are accessible to code, for example in any generator template. A rule fires when any of the properties changes, and propagates the change to the others. (2) In the...http://blogs.msdn.com/alan_cameron_wills/archive/2005/10/27/483708.aspx Code is Model- October 22, 2005 Interesting post and comments on Harry Pierson's blog: http:devhawk.net20051005Code+Is+Model.aspxhttp://blogs.msdn.com/alan_cameron_wills/archive/2005/10/22/483718.aspx Customizing the MS Domain Specific Language Tools- October 22, 2005 One of the features of the DSL Tools is extensibility. With the language definition files, you can define a wide range of thing-and-link style graphical notations. The current version of the Tools comes with a set of templates for creating class, use case and activities diagrams; but the idea is that you adapt the language definitions to suit your own purposes - for example to add new sorts of classes, or cut out some sorts of association. That kind of change can be made in the...http://blogs.msdn.com/alan_cameron_wills/archive/2005/10/22/483692.aspx |