|[Solved] Distinguish child nodes from imported nodes on diagram [message #1597842]
||Mon, 02 February 2015 15:50
| Wilbert Alberts
Registered: June 2010
I created a project that allows visualization of a DomainModel containing Entities. The diagram itself represents the DomainModel.
The project allows Entities, contained in an other DomainModel to be dragged upon a DomainModel. This resembles importing an Entity from another DomainModel.
I like to distinguish the imported Entities from the actual children (of the DomainModel). I thought that this was best done by including a conditional mapping for the Entities. Entities originating from a different DomainModel then the one they are drawn upon should be rendered differently.
How can I test this (e.g. the guard of the conditional mapping)?
Something like: [eContainer(DomainModel) <> view.eContainer(DDiagram).semanticElement/]
[Updated on: Tue, 03 February 2015 08:00]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01685 seconds