|
Re: Diagram extension with edge pointing to any model element [message #1733585 is a reply to message #1732908] |
Mon, 30 May 2016 05:59  |
Eclipse User |
|
|
|
Le 23/05/2016 à 01:18, Michael Szvetits a écrit :
> Hi,
>
Hi,
> I have a model as shown in the following picture:
>
>
>
> My goal is to develop a diagram extension which allows to attach documentation texts to existing model elements.
>
> Providing an additional layer and a node for editing the documentation text is easy, it is just a rectangle shape with text in it. But I am struggling with defining an edge (named DocLink in the semantic model) that connects the documentation node with any existing model element. More precisely, I do not know how to configure the target mapping of the edge since I cannot select a specific mapping; the target should be any node of the diagram.
>
> Is there some kind of "base node mapping" which matches all elements in a diagram?
No way to do that. Currently, you must select all node mappings in the
"Target Mapping" list of your edge mapping DocLink.
>
> I know that there already exist "Note" and "Note Attachment", but I want to achieve this with a semantic resource for various reasons.
>
> Thanks,
> Michael
>
Regards,
--
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.02433 seconds