Book a Demo

Author Topic: Broadcast Event for dragging Attribute to Object  (Read 4779 times)

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Broadcast Event for dragging Attribute to Object
« on: May 02, 2017, 08:31:49 pm »
Which Broadcast Event occurs when an attribute is dragged from the project browser to an element (f.e. a class)? I tried with the EA_OnPostNewAttribute(Repository, Info) event but no results...

Thanks,

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Broadcast Event for dragging Attribute to Object
« Reply #1 on: May 02, 2017, 09:07:31 pm »
EA_OnPreDropFromTree() should get fired when "a user drags any kind of element from the Project Browser onto a diagram", so try that.

Note that that's a Pre event though. There's no corresponding Post.

/Uffe
My theories are always correct, just apply them to the right reality.

MatthiasVDE

  • EA User
  • **
  • Posts: 196
  • Karma: +1/-0
    • View Profile
Re: Broadcast Event for dragging Attribute to Object
« Reply #2 on: May 02, 2017, 09:32:13 pm »
It works, thanks!
« Last Edit: May 02, 2017, 11:49:11 pm by MatthiasVDE »