Browse by Tags

DSL Tools #13 - Changing the Appearance of a Shape at Runtime
Finally I found some time to document this simple customization to the DSL Tools designers. The requirement is as follows: I have a given domain class - called Module Reference - that has a property called Main. This domain property indicates if that Read More...
Posted 30 October 08 05:43 by hgr | 1 Comments   
Filed under ,
Visual Studio 2008 SP1, TFS, and the Experimental Hive
Every once in a while I enter the nightmare of formatting my development machine. :) This time my "wonderful nightmare" was getting Visual Studio 2008 SP1 and the Experimental Hive (for my DSL Tools developments) working correctly (with TFS Read More...
DSL Tools - Reference of Articles
Since I've been doing a number of posts on the DSL Tools, I thought it would be helpful to have a list with all of them: DSL Tools #1 - Preventing Multiple Instances of one Domain Class DSL Tools #2 - Preventing Invalid Connections DSL Tools #3 - Dynamic Read More...
Posted 15 July 08 06:43 by hgr | 0 Comments   
Filed under ,
DSL Tools #12 - Cascade Deleting Domain Classes
NOTE: The procedure described here is based on the domain model described in this previous post . --- Now for something completely different. As I said before instances of Entity, NormalAttribute, and Calculated attribute are created at runtime when the Read More...
Posted 15 July 08 06:36 by hgr | 1 Comments   
Filed under ,
DSL Tools #11 - Preventing the User from Deleting Instances of a Domain Class
NOTE: The procedure described here is based on the domain model described in this previous post . --- The next thing that I wanted to achieve in my DSL was to prevent the user from deleting manually the instances of certain domain classes. On my example, Read More...
Posted 15 July 08 06:25 by hgr | 2 Comments   
Filed under ,
DSL Tools #10 - Preventing the User from Adding Instances of a Domain Class
In the next few posts about the DSL tools, I'll be using the following domain model: This model is relatively simple: One model can have multiple entities. One entity can have zero or more normal attributes. One entity can have zero or more calculated Read More...
Posted 15 July 08 06:08 by hgr | 3 Comments   
Filed under ,
DSL Tools #9 - Adding Context Menus to a Designer
Again working on a new DSL, I was looking for a simple way of adding menus to the my DSL's main designer context menu. In the end I found this great article by Sebastian Talamoni that explains it very well. Here it is: Adding a Menu to a DSL Share this Read More...
Posted 14 July 08 03:57 by hgr | 1 Comments   
Filed under ,
DSL Tools #8 - Multiple Outputs from Single Text Template
One of my colleagues pointed me this article by Oleg Sych: How to generate multiple outputs from single T4 template The technique is complex but it does solve one of the worst limitations of the DSL Tools. Nice work. Share this post: email it! | bookmark Read More...
Posted 20 June 08 05:20 by hgr | 1 Comments   
Filed under ,
Code Generation - GeneratedCodeAttribute
All the analysis tools that come with Visual Studio 2008, allow you to suppress analysis on files that were automatically generated by tools and are supposed to be regenerated at some point in time. The question is how do these tools know that a code Read More...
Posted 02 June 08 03:22 by hgr | 0 Comments   
Filed under , , ,
Pavel Hruby & REA @ PRIMAVERA
This week we had the pleasure of receiving and working with Pavel Hruby here at PRIMAVERA. Pavel is a very experienced model-driven design enthusiast that worked a number of years in Navision and Microsoft Business Solutions and that is a specialist on Read More...
AssemblyResolve and Visual Studio 2008
Beware of the following bug in Visual Studio 2008 using the AppDomain's AssemblyResolve event: AppDomain.AssemblyResolve Bug Apparently this event is not always fired when the code is hosted in Visual Studio 2008 (for add-ins for example). This works(ed) Read More...
DSL Tools and Visual Studio 2008
If you're using the DSL Tools there are 2 important steps to take care of. First, you'll need to install the Visual Studio 2008 SDK 1.0 . This will install the DSL Tools on your machine. Second, very important, before even trying to open any DSL solution, Read More...
DSL Tools #7 - Custom Property Editors (Ellipsis)
In this previous post I described how to create a custom property editor to show a list box that the user can select from to set the value of a domain property. The other day I had a pretty similar requirement but which implementation is slightly simpler Read More...
Posted 20 December 07 06:37 by hgr | 1 Comments   
Filed under ,
Roadmap for the DSL Tools
This is a development roadmap for the DSL Tools published by Stuart Kent: DSL Tools Beyond VS2008 Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live it! Read More...
Posted 27 November 07 11:07 by hgr | 1 Comments   
Filed under ,
Clarius T4 Editor Beta
Well, working with the DSL Tools just got a bit easier . This tool - Clarius T4 Editor - does a pretty good job in helping you edit the text templates for code generation. Share this post: email it! | bookmark it! | digg it! | reddit! | kick it! | live Read More...
More Posts Next page »