|
Re: Container Drop Relation based edges [message #1842158 is a reply to message #1841838] |
Thu, 10 June 2021 15:42 |
|
Hi Thomas,
I see several options:
- your relation based edge mapping is unsynchronized : you might create an edge tool, a one clic tool or a drop tool and then in the operation use the CreateEdgeView operation in your tool definition (and if need set the relation in the model)
- your relation based edge mapping is synchronized, you might create any tool, menu, drop tool , which could set the relation, the next refresh will create the edge view (it could by as a reaction of your tool if the automatic refresh is enabled for your project or if the forceRefresh option is set on your tool).
I have a doubt though for the "drop" of an element on another element, as GMF will interprete that as a move + attempt to put the element on the other one. If the model operation does nothing around the model dnd, you might have the edge created + a layout change.
Regards
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.02878 seconds