Author Topic: delete connector  (Read 13155 times)

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
delete connector
« on: April 27, 2012, 07:59:10 pm »
Hi
In my addin I can trap the EA_OnPreDeleteConnector event, but if this relationship is deleted in another way (for example from the 'Links' tab on the properties dialog for the class) this event is not generated.

Is there a way to trap all occurrences of the user deleting a relationship?

Thanks
Using V12

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: delete connector
« Reply #1 on: April 27, 2012, 08:21:08 pm »
I'd consider this a bug to be reported.

I also noticed that OnPostNewDiagram is fired twice on Make Composite.

q.
« Last Edit: April 27, 2012, 08:22:30 pm by qwerty »

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: delete connector
« Reply #2 on: April 27, 2012, 08:40:48 pm »
bug reported
Using V12

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: delete connector
« Reply #3 on: May 01, 2012, 05:06:56 pm »
The response from Sparx -
Hello Graham,

Thanks for the note.

We have confirmed that this is an issue and it should be fixed in a future release of EA.

Issue ID: 12042746

Unfortunately there is currently no workaround for when deleting relationships from the relationships window.

If you have any further questions please let us know.
Using V12

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: delete connector
« Reply #4 on: August 01, 2023, 03:55:32 am »