Book a Demo

Author Topic: Notification when deleting attributes  (Read 2766 times)

novikovigor

  • EA User
  • **
  • Posts: 46
  • Karma: +0/-0
    • View Profile
Notification when deleting attributes
« on: June 23, 2013, 11:11:17 pm »
Hello again!
There are classes "A", "B", "C" etc with attributes "a", "b" and "c". I need to create invisible one-way relationships "b" => "a" and "c" => "a" (it may be connector or other object), single purpose of  this relationships is notify user about existing dependencies when he tries to modify/delete attribute "a" or delete class "A".
Is there any way in EA to implement this?

g.makulik

  • EA User
  • **
  • Posts: 355
  • Karma: +0/-0
    • View Profile
Re: Notification when deleting attributes
« Reply #1 on: June 23, 2013, 11:53:15 pm »
May be writing an AddIn could help with this.
Using EA9.3, UML2.3, C++, linux, my brain, http://makulik.github.com/sttcl/

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Notification when deleting attributes
« Reply #2 on: June 24, 2013, 06:04:54 pm »
I would use tagged values of type RefGUID to link the attributes.

Notification is something you'll need to take care of in the OnPreDelete... events in your add-in.

Geert