A few classes and features for enhancement of the Microsoft DSL Tools with: Compartment Mappings, Dynamic Properties, User Restrictions and CanDelete() for ModelElements

Over the time I build some libraries that enhance the Microsoft DSL Tools framework. All these libraries are composed to this single library you can use in your projects.

I will try to extend JaDAL with more useful things and I will blog about it at http://www.ticklishtechs.net.

Content

The single features are independent of each other and were described in my blog. Please refer to the linked articles in my blog for detailed information and some hints how to use the classes. CompartmentMapping.png DynamicProperties.png

Remarks

I developed and tested JaDAL using Visual Studio 2008 with the current stable VSSDK installed.

News

These news are fetched directly from my blog. Only the VSX tag is shown here:
 Ticklish Techs » vsx News Feed 
Wednesday, June 23, 2010  |  From Ticklish Techs » vsx

When using the Visual Studio 2010 SDK and creating VSIX packages, you will set for some files the Include in VSIX property within your DslPackage.

I’m not sure what append, maybe it happed on a project I imported from an older Visual Studio version. But for this project the property I needed so much was just [...]

Saturday, May 01, 2010  |  From Ticklish Techs » vsx

What’s the problem?
First of all I have to explain to everybody what I’m talking about:
With Visual Studio 2010 Microsoft introduced a new way to deploy extensions to Visual Studio. Instead of creating a setup.exe that copies files, writes to the registry and calls devenv.exe with the /setup option one only needs such a VSIX file [...]

Monday, January 05, 2009  |  From Ticklish Techs » vsx

It was very silent here in the past month. That was mainly because I was working on my diploma thesis until the end of September. After that I did my final exam and started working in Bonn. Now it is December and almost 2009. I’m sitting in a plane to Australia for holiday and have [...]

Wednesday, October 15, 2008  |  From Ticklish Techs » vsx

I created two DirectiveProcessor for Visual Studio to use in the T4 system. I added the classes to JaDAL hoping someone can use them in her project or use the code as an example when creating new DirectiveProcessors.
Let’s start with a short introduction to DirectiveProcessors. DirectiveProcessors are used in .tt-files to provide data to the [...]

Sunday, July 27, 2008  |  From Ticklish Techs » vsx

Every DSL you create with DSL Tools has a model explorer. This model explorer is a tool window in Visual Studio displaying the elements of your model in a hierarchical way. This is often a nice feature but sometimes a hierarchical view of your data is not appropriate. So I came to the question: How [...]

Saturday, July 19, 2008  |  From Ticklish Techs » vsx

There is a known issue in the current version of the DSL Tools while dealing with custom TypeConverters or custom TypeDescriptors:
1.10 TypeConverters and TypeDescriptors are not picked up during the build process or during toolbox initialization.
When adding a custom TypeConverter or TypeDescriptor and then building the DSL, the TypeConvertor or TypeDescriptor is not picked up. [...]

Thursday, July 03, 2008  |  From Ticklish Techs » vsx

As you know I was working with the DSL Tools in the past months. Since a few weeks I has to write the code generation for my project and struggled with some new problems.
For some reason I want to know the filename of the model used in the tt-file. The default implementation provides you only [...]

Thursday, June 26, 2008  |  From Ticklish Techs » vsx

One of my DSLs uses many black connectors laying all over the screen. Every time I try to follow one connector I select it to change the border and to see a difference between all connectors. A colleague saw this design and asks me to implement a mouse over feedback for these connectors since all [...]

Monday, May 26, 2008  |  From Ticklish Techs » vsx

In To restrict dynamically the usage of Domain Properties in DSL Models I described a way to restrict to usage of certain domain properties by the user. You can define different modes for your editor and allow or prevent the usage of domain properties via attributes on your domain classes. The technique is described in [...]

Wednesday, May 21, 2008  |  From Ticklish Techs » vsx

Over the time I build some libraries that enhance the Microsoft DSL Tools framework and post them here. I wrote a number of articles and for many of them I provided a download with source code or examples.
However we all know: zip files are a bad version management system!
I decided to put all these [...]

Wednesday, May 21, 2008  |  From Ticklish Techs » vsx

Few months ago I wrote a series of articles and released a library to create connectors between the entries of compartment shapes in Microsoft DSL Tools. In the meantime I found a setting that wasn’t working with my library and now it is time for version 2. I will release this new version as part [...]

Tuesday, May 20, 2008  |  From Ticklish Techs » vsx

When using CompartmentShapes in your DSL you can define the text displayed in the head of each compartment in the DSL designer (there is a property Title for every compartment):

Unfortunately I didn’t find any way to change this text from my source code or by binding it to some DomainProperty. I’m using an abstract base [...]

Thursday, May 15, 2008  |  From Ticklish Techs » vsx

One would think, it is a simple feature in the DSL Tools framework to allow and forbid the deletion of model elements, but it isn’t.
There are a few posts in the DSL Forum and it seems there are even a few methods to forbid the deletion. But every single solution has its pros and cons [...]

Saturday, April 12, 2008  |  From Ticklish Techs » vsx

What’s the matter?
If you define Domain Properties on your Domain Classes and Shapes, you can configure the way a user of your DSL can interact with this Domain Properties. With the properties Is Browsable and Is UI Read Only you can hide a property from the Properties Window, make it read only or give the [...]

Wednesday, April 02, 2008  |  From Ticklish Techs » vsx

As you all know I’m working with Visual Studio Extensibility (VSX) at the moment. VSX is a interesting field to work with but it is badly documented. There are some samples, some books, communities and so on and if you search the web for a while you can find answers to most of the basic [...]

Saturday, March 01, 2008  |  From Ticklish Techs » vsx

[Update (2008-05-21): This code is now hosted at CodePlex as part of JaDAL. And a follow-up article was published.]
Previously on…
This article is part of a series. A table of contents can be found at the end of the first article. Part 2 contains a user guide and in part 3 I showed most of the [...]

Saturday, March 01, 2008  |  From Ticklish Techs » vsx

[Update (2008-05-21): This code is now hosted at CodePlex as part of JaDAL. And a follow-up article was published.]
Previously on…
This article is part of a series. The table of contents can be found at the end of the first article. In that article you can also find a brief overview. In the second part there [...]

Thursday, February 28, 2008  |  From Ticklish Techs » vsx

[Update (2008-05-21): This code is now hosted at CodePlex as part of JaDAL. And a follow-up article was published.]
Previously on…
This article is part of a series. A table of contents can be found at the end of the first article. In that article you can also find a brief overview.

User guide
If you read this article [...]

Thursday, February 28, 2008  |  From Ticklish Techs » vsx

[Update (2008-05-21): This code is now hosted at CodePlex as part of JaDAL. And a follow-up article was published.]
This is the first part of an article series to this topic on a library I wrote. At the end of this article you find links to the upcoming articles. The download can be found at part [...]

Sunday, February 17, 2008  |  From Ticklish Techs » vsx

Each element you can see in a DSL Diagram within the DSL editor is based on a Domain Class defined in your DSL Definition. If the user selects on of these shapes in the Editor he can change the values of the defined Domain Properties in the well known Properties Window of Visual Studio, but [...]

 Ticklish Techs » vsx News Feed 

Last edited May 21, 2008 at 11:29 AM by BenjaminSchroeter, version 13