Book a Demo

Author Topic: Event on reload project  (Read 4401 times)

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Event on reload project
« on: May 03, 2014, 06:00:55 am »
Hi guys

Have I missed something in the broadcast events, but can't see anything that is raised on a project reload - is there or any ideas?

Thanks
EXploringEA - information, utilities and addins

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13506
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Event on reload project
« Reply #1 on: May 05, 2014, 03:58:13 pm »
Have you tried EA_OnPostInitialized and EA_FileOpen?
I suspect EA treats a reload pretty much the same as opening a model from scratch.

Geert
« Last Edit: May 05, 2014, 03:58:27 pm by Geert.Bellekens »

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Event on reload project
« Reply #2 on: May 05, 2014, 04:38:22 pm »
No useful broadcast events fired when invoking the File | Reload Project command from the main menu that I am aware of.  Only events fired seemed to be related to opening and closing of diagrams, if any were currently open when you triggered the reload.

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: Event on reload project
« Reply #3 on: May 06, 2014, 04:12:14 am »
Many thanks for your help

@Geert - thanks I catch both those events and nothing seen.  And as Aaron confirms looks like there isn't anything.

@Aaron - would it be a reasonable request to have a reload fire a file open perhaps with a flag saying that it's a reload?
« Last Edit: May 06, 2014, 08:37:40 am by MrWappy »
EXploringEA - information, utilities and addins

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Event on reload project
« Reply #4 on: May 06, 2014, 04:25:25 am »
You should send an official feature request. Maybe if more people join in and you're lucky you will have a solution in a couple of years  :-X

q.

P.S. I don't know why Sparx does not offer a premium support which sponsors certain features to be realized more timely.
« Last Edit: May 06, 2014, 04:26:59 am by qwerty »