index > Visual Studio Team System - Domain-Specific Language Tools > Add a toolbar to the dsl designer surface

Add a toolbar to the dsl designer surface


Hi all,

I need to add a toolbar to the design surface of my dsl designer. Something similar to the code window. Anabody has a clue on how it can be done.

Freddo

Freddo

Hi Freddo,

This is essentially done in the same way its done for any VSIP package and isn't DSL Tools-specific, so the docs are in the main VS SDK docs, not our sub-section.

http://msdn2.microsoft.com/en-us/library/aa405440.aspx

In short, you add a toolbar declaration to your CTC file with a set of Buttons on it, add a matching set of IDs and command handlers to yoru CommandSet class and update the counter in the ProvideMenuResource attribute on your package class.




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

You can use google to search for other answers

 

More Articles

DSL Tools for RTM?
DSL Tools November CTP now available
Custom Modeler Code
Crash of visual studio when model is incorrect
Implementation Errors in DSL(C# Project)
No items in the toolbox
How to Export diagram as image
Show or Hide icon decorator at runtime
Copy/Paste
A minor gotcha: reserved words
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Troubleshooting: duplicate generated files
How it the class mentioned in directivep…
copy the text from ViewFixupRules.dslddi…
Custom Geometry Shape
Customize DirectiveProcessor
Making a reference from a connector class
Problem with List type value property
DSL and visual studio
What is the best way to present 3 value …
Problem Extending Notation with icons
Interacting with Server Explorer
Tool support for designer definition?
DSL for existing descriptive language
When do you plan to update documentation…
How are new objects created in a DSL?

Hot Articles

Custom Storage setting...
how can i get a Service into T4 textempl…
Changing type of element using property …
Mutliple DSL Installation
DSL Setup project fails to compile
N-ary Relationships
changing defaults in inherited propeties
Problem with List type value property
Category feedback
CompartmentShapes Walkthrough causes Ove…
DSL interacting with VS project system.
Migrating between languages
How to Use Path Syntax and Element Merge…
Multi-User Capability
The definition of Triangle and Rectangle…

Recommend Articles

Bugs (?) in July version
Question on using the domain model desig…
Error : Value cannot be null ,Parameter …
What one-shot recipes would you add to D…
Can we host DSL designer in a custom hos…
use case template dropped?
Documentation for Microsoft.VisualStudio…
Production quality planning of MS DSL to…
Problem Installing DSL Tools September 2…
Odd results experimenting with shapes an…
Package Load Failure - June CTP
Shape inside a shape
A Software Factory Newbie Wants To Under…
VS SDK March 2006/ DSL TOOLS - Problem t…
"DSL DM -> DD" for November…