index > Visual Studio Team System - Domain-Specific Language Tools > embedding relationship

embedding relationship


Hi,

I do not know if I overlook the obvoius, but is it possible to embed a concept into more than one concepts. An example. I have a ComponentModel that embeds Component and CompositeComponent. Now I want to be able to add a Component to a ComponentModel and
Alexander_H

You can embed Component in both ComponentModel and CompositeComponent (in post-July version) if you set the multiplicity to 0..1 (instead of 1) on each of the Component roles.

However, each instance can only be the target of one embedding link at a time.




- Alan [Microsoft]
Alan Cameron Wills
How can you change the ParentShape ?

This property is readonly.
I triedand removing from the old parent, and adding to the new parent but i am loosing the existing relationships..

any idea?
leovernazza

Unfortunately currently there is no way to change the parent of a concept without losing the existing relationships the way you described.

Kirill [Microsoft]

Kirill Osenkov
reply 4

You can use google to search for other answers

 

More Articles

User Domain Model Displayed as XML
Change name of Extension & name of the language afterwards
Installing June 2006 VS SDK CTP side-by-side with April 2006 VS S...
How to Use Path Syntax and Element Merge Directives
geometryShape no "Diamond" Shape possible
Providing UITypeEditor in DSL
Problems loading package
Nesting relationships, can't link to ImageShape
Clarifying terms
What is the future of MDA?
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Error in "Domain-Specific Language …
connections restrictions between shapes …
Toolbox (in the Dsl Designer) only shows…
Stability of Modeling API
Next CTP
Toolswindows out of control.
Designer code templates - where are they?
Starting with DSL Tools
Show more than one Property in a Compart…
HELP!!!...There is no: File > Export …
Problem starting new DSL-project
DSL interacting with VS project system.
Fail to load Designer package
Multi-User Capability
Welcome to the Domain-Specific Language …

Hot Articles

accessing relations (and its value prope…
Concept's Properties
Domain model designer
Problem Extending Notation with icons
DSL Tools for RTM?
DoubleClick in Compartment item
How to get a programmatic reference on t…
UIPChart problem
How to access to the shape connectors by…
Can I Generate Code with CodeDom in the …
Using DSL tools outside VS
On Stores, Editors & Models.
A better name for a BlankLanguage
Connectors connecting to connectors
How to make a Domain Relationship visibl…

Recommend Articles

Package Load Failure Again
Manioulate shape text decorator at runti…
Announcing DSL Tools May 2005 CTP for Vi…
Multiplicity Value Property
Persistence in XML
Supported VGRoutingStyles?
geometryShape no "Diamond" Sha…
reuse of model elements
How access to a connector property
How to retrieve data from Connectors(Rel…
Context menu item localization
use case template dropped?
How-to: create a custom tool that runs d…
What to use instead of GetDisplayPropert…
Using DSL tools outside VS