Book a Demo

Author Topic: Event to react to "Save" operation  (Read 3529 times)

Orlando Ribeiro

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Event to react to "Save" operation
« on: October 27, 2009, 02:43:06 am »
Hello,

I'm trying to perform some extra tasks after i save a Change/UseCase/Requirement's details. I need an add in that reacts to the "save" operation on the elements editor.

I haven't found an event to do so. Is there a particular event i'm missing?

I checked this:
http://www.sparxsystems.com.au/uml_tool_guide/sdk_for_enterprise_architect/eaaddintemplateobject.html

and this:
http://www.sparxsystems.com.au/uml_tool_guide/sdk_for_enterprise_architect/broadcastevents.html

but none seems to fit my needs...

Any help would be appreciated.

Thanks,
Orlando
--



Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Event to react to "Save" operation
« Reply #1 on: October 27, 2009, 07:48:47 pm »
Orlando,

Have you tried the EA_OnNotifyContextItemModified ?

Geert

Orlando Ribeiro

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Event to react to "Save" operation
« Reply #2 on: October 27, 2009, 08:46:15 pm »
Hello,

It does work. I would have never suspected this event by its name :)

Thanks a lot, problem solved.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Event to react to "Save" operation
« Reply #3 on: October 27, 2009, 09:05:17 pm »
Yeah, well, after a while of using EA and the API you develop a sense for these kind of things ;)

I'm happy you got it working.

Geert