Book a Demo

Author Topic: Definition Drop Behaviour  (Read 4052 times)

msf

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Definition Drop Behaviour
« on: February 10, 2017, 03:23:16 am »
Hi,

is there any chance to allow the definition of a drop behavior ? There are already some defined behaviors like setting partnerReferences but when I go a step further dropping a role from the organisational model to a partner role that implies setting a reference or creating an association would be helpful.

As far as I have understood the API only the event of a new element is monitored but not dropping an element. Ideally, it would be possible without any Add-In using something like the QuickLink mechanism.

Thanks, Marcus

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Definition Drop Behaviour
« Reply #1 on: February 10, 2017, 08:48:24 am »
There is an API event for this purpose.

EA_OnPreDropFromTree

msf

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: Definition Drop Behaviour
« Reply #2 on: February 10, 2017, 07:19:30 pm »
Thanks, thats 1/2 good news - I didn't find that one. But as I understand, this event only shows if an element is dropped from the project browser and is not thrown as a element from a diagram directly is thrown on another diagram ?

As I know it from other tools, I strongly vote to add this to the mdg mechanism without using an API call.