index > Visual Studio Team System - Domain-Specific Language Tools > connectors between elements of a compartment

connectors between elements of a compartment


Hello

I am trying to extend the class diagram by adding a new relationship connector between class operations. It seems, unless I am mistaken, that we can not do that graphically unless we consider the operation itself a graphical element embedded in the operations compartment of a class. But in that case we end up with an ugly shape, ie a graphical box for each operation inside the operations compartment of a class.

I there a nice and easy way to define the new relationship and enable connectors between elements of compartments?

Thank you

Philippe

phil_m

There isn't a good way to do this in our generated designers for DSL Tools v1. It would be possible to write some custom code that connected specific items in a compartment with lines by using the FixedTo and FixedFrom flags on the connector. This means that the connector ends will not move. Then, setting the to and from endpoints properties on the connector to be a point in the area of a specific compartment item. Does this make sense?

The bigger issue may be in the connect action because you need to get the list item that are the target and source for the connector that's being created.

Thanks,




Pedro Silva - http://blogs.msdn.com/pedrosilva
Pedro Silva
reply 2

You can use google to search for other answers

 

More Articles

[outdated] September 2005 CTP available
How to control order of transformation steps?
copy the text from ViewFixupRules.dslddi to ViewFixupRules.dslddt...
Suggestion - Context Menu: Override Behavior or Rule
Language name has to start with capital letter
guidLogicalView
How can i force the placement of a port on its parent ?
Error Creating DSL Designer Project
Unable to Replace Old Files by New ones
Instanciate an external model
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

'security error'
UIPAB
Any Practical Limits on Model Size?
DSL and XMI interchange format
schedule for beta and V1 releases?
How to implement Rules in DSL
"DSL DM -> DD" for November…
toolbox problem - reset toolbox doesn't …
Set Inherited Properties
How to fill custom properties dynamicall…
How to change the font of a shape?
Starting with DSL Tools
Troubleshooting: duplicate generated files
designer definition toolbox item - compa…
General Questions

Hot Articles

Tying domain classes to shape objects
How to Calculate a property's value
Textarea feature in DSL designer issue.
DMD -> DD helper tool (contribution)
"Static" Swimlanes
DSL Tools / VS.NET RTM
Administrator priviliges required
Nested Concept and Nested Diagram
Problem loading different models in Dire…
tutorial
Changing Role Players in the Properties …
Right mouse click on model results in a …
Additional Toolbox Tab
Including code files in a DSL instance
Error Message: Cannot find custom tool …

Recommend Articles

Transform Model to DSL
Enable/Disable property OnValueChanging/…
Language name has to start with capital …
What one-shot recipes would you add to D…
Domain Model Definition Schema
Dynamically generate and "install&q…
CompartmentShapeMap
schedule for beta and V1 releases?
'security error'
Any Practical Limits on Model Size?
Troubleshooting mysterious crashes
How to manually process template in June…
Validation / Rejecting a change from a C…
Welcome to the Domain-Specific Language …
Merging auto-generated code with custom …