|
Re: Drop on wrong target [message #1827897 is a reply to message #1827575] |
Tue, 26 May 2020 12:55  |
|
Hi,
Quote:Is there a way to catch this failed drop to execute some java code ?
There is no fallback when you drop in the wrong target. You can potentially define a "Container Drop Tool" with the wrong targets as "Containers".
Quote:Also, when dragging, there are several filters that seems to be processed :
- from the container list in "Container Drop"
- from the definition itself of the diagram elements (Nodes, Containers...)
For creation tool, there is a notion of "Extra Mappings". Unfortunatelly, this does not exist for "Container Drop Tool".
Quote:Is there any Sirius helper that could provide the targets compatible with the source element ?
This check is done in Sirius somewhere in the code. But I'm not sure than an helper exist.
Regards,
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 1.01439 seconds