Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: OpenIT Solutions on October 24, 2020, 12:26:05 am

Title: EA Addin - Event to capture when element dropped onto another element ?
Post by: OpenIT Solutions on October 24, 2020, 12:26:05 am
Hi,

Anyone know the event that is fired / i capture when an element is dragged and dropped onto another element on a diagram please ? Better still anyone have some sample code of how to handle ?

I want to write an add-in that gives the user the option of forming a relationship between an element on a diagram and one dragged/dropped from the project browser onto it (and not add the element dragged/dropped onto the diagram - ie just form the relationship).

Thanks,

Jon,
Title: Re: EA Addin - Event to capture when element dropped onto another element ?
Post by: Geert Bellekens on October 24, 2020, 01:07:53 am
Have you tried EA_OnPreDropFromTree

Geert
Title: Re: EA Addin - Event to capture when element dropped onto another element ?
Post by: OpenIT Solutions on October 26, 2020, 07:46:03 pm
No, but i will now. Thanks Geert  :)