Is it possible to enable users to drag and drop a Table from the Visual Studio Server Explorer onto my own DSL Diagram?
I can drop custom Domain Classes I have created but want to make use of the build in funcationality.
I am working in Visual Studio 2010.
I suppose you could override the CreateDiagramView method in your DocView class, and call CreateDiagramView to get to the diagram. From there, you could listen to the DragDrop event. If you can understand what was dropped on you, you could do something with it.
Note: I haven't tested any of this - just happened to have a DSL open and played a bit.