index > Visual Studio Team System - Domain-Specific Language Tools > Can we host DSL designer in a custom host application?

Can we host DSL designer in a custom host application?


Is it possible to create a designer host to host DSL diagramming? This way we can create a designer host using Visual Studio but won't need Visual Studio to create a diagram. If it's feasible, would it be allowed per license/distribution agreement?
santanbo

Well, the main components of the DSL Tools are the DSL Designer, the T4 template generator, and the template code for the generated solutions. There's nothing to stop you changing that last item as much as you like. The DSL Designer can only be used within the stated authoring environment, and the T4 template generator can only be used inside the stated user environment. But you could do a hyper-customization that throws away the entirety of the template solutions, and builds something else that maybe uses the DSL Designer and T4 for authoring, and uses neither at the user level. Quite a lot of work....




- Alan [Microsoft]
Alan Cameron Wills

Thanks a lot Alan. I played with the designer host according to the MSDN article "Create And Host Custom Designers With The .NET Framework 2.0". I am thinking of just using the DSL designer so end user can create some sort of flow chart type diagram which would be used in our application domain. I may or may not need the DSL code generation part. It sounds like I should be able to do it with a bit of work. I will give it a try. I only have the express version now, I guess I will need to wait till we get the pro version.

santanbo

Hi Santabo,

I believe Alan was suggesting that you could generate your own graphical application from your DSL model. Unfortunately, in V1, using our graphical design surface outside of Visual Studio is not supported.




Gareth Jones - Developer - DSL Tools & Software Factories Platform [MSFT]
GarethJ MSFT

Thanks for the clarification. Even if hosting outside Visual Studio is not supported, do you know if something will definitely prevent it from working outside VS? If DSL designer is following the generic design time architecture of VS 2005, I don't see what will stop it from working outside Visual Studio. May be you can shed some light here.

What I am trying to do is create a visio like end user application without using VS, Visio or third party software. If you know of an easier way to do that without using DSL designer surface, let me know. That will be a big help.

santanbo

I recently saw a demo of a .Net application hosting a deployment diagram out of VS2005. The diagram was built programmatically from the configuration data and updated live, but it was not modifiable graphically by the end-user.

So it seems we can host a designer diagram out of VS2005.

It was a "week-end" project to enhance the configuration module of an application. I thus guess it didn't require a lot of work to do it...

Unfortunately, I had no access to the source code or design of the application.

Luc

Luc Rogge
reply 6

You can use google to search for other answers

 

More Articles

UIPChart problem
guidLogicalView
Controlling Font
What can be created with DSL?
Using domain specific language
Installing June 2006 VS SDK CTP side-by-side with April 2006 VS S...
circular dependency and custom properties
Unable to Start Debugging !!!
Crash of visual studio when model is incorrect
How to add or remove template files in the target (exp) environne...
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

How to wrap words of one single line to …
Crash of visual studio when model is inc…
Project type
use case template dropped?
How to access to the shape connectors by…
Changing elements from properties
Outline Pen Width
ReportTemplate Folder
Copy/Paste
Open Source Designer
Extending right-click menu for DSL class
DSL Tools vs VSTS designers
Come Join the World's Largest Software F…
.tt files shouldn't be copyrighted
DSL Toolkit for August CTP ?

Hot Articles

How are new objects created in a DSL?
DSL and VS 2005 Release Candidate 1 ?
DSL & Automation
Question on roadmap to DSL features
Customize DirectiveProcessor
t4 in a custom/stand alone tool
DSL Tools vs VSTS designers
Migrating to May CTP: MissingManifestRes…
DSL Tools outside VS?
Possible to get samples with new DSL inc…
use case template dropped?
Custom Rules in June CTP
Supported VGRoutingStyles?
Beginner question about the use of DSL T…
Enable/Disable property OnValueChanging/…

Recommend Articles

DSL Tools for RTM?
How do I change the color of a connector…
Project type
Can I make two DSL models interact ?
DSL Toolkit - March version
Drop-down list to edit 1-* relationships
Enable/Disable property OnValueChanging/…
guidLogicalView
DSL Toolkit and VSIP License?
How to control order of transformation s…
Including template content inside method…
How to remove non application menu-items…
'security error'
How to manually process template in June…
toolbox problem - reset toolbox doesn't …