July 2008 - Posts

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 | 1 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 | 2 Comments   
Filed under ,