Book a Demo

Author Topic: Method inheritance updating and Simulation  (Read 3868 times)

Athanasios Anastasiou

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Method inheritance updating and Simulation
« on: July 04, 2013, 02:02:21 am »
Hello everyone

I wonder if anyone can help with the following two questions:

1) Is it possible to have changes applied to an abstract class / interface be propagated to the children classes as well in EA Professional 10?

At the moment, i have an interface whose method signatures have changed a few times so far and to quickly update the descendants i am re-establishing the "Realize" associations. Is there a way to propagate these changes automatically or at least, re-invoke the dialog that enables the selection of the methods that are to be inherited for a given relationship?

2) When setting up a simulation (in EA 10 Professional Edition) to review the operation of the a state machine, do i need to enable the use of javascript so that guards of the form "a>5" are actually evaluated?

At the moment, wherever i have two branches going off a state, the simulator pauses and asks for user input although each branch contains a guard with specific conditions. What i expected was that the simulation was going to run the state machine from the Start->End condition and allow me to observe the values of specific variables in the meantime but so far i have not got quite there yet :)

Looking forward to hearing from you

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Method inheritance updating and Simulation
« Reply #1 on: July 04, 2013, 01:24:49 pm »
1. No. You can re-invoke the dialog, but it doesn't happen automatically.
2. According to the Compare Editions page: "Manual simulation support in Professional edition, automated simulation support in Corporate edition and above."

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Method inheritance updating and Simulation
« Reply #2 on: July 04, 2013, 02:43:22 pm »
Quote
You can re-invoke the dialog, but it doesn't happen automatically.
Ctrl+Shift+O
The Sparx Team
[email protected]

Athanasios Anastasiou

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Method inheritance updating and Simulation
« Reply #3 on: July 04, 2013, 07:53:04 pm »
1) Thank you very much this was very helpful.

2) Alright, this is understood (i could not enable javascript and put it down to the version differences anyway). Does this apply to all the features of the simulation though? So, even in manual mode, would i still be able to review the values of certain variables after a few iterations? (I have tried adding them in the Watch window but no luck so far :/ )

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Method inheritance updating and Simulation
« Reply #4 on: July 09, 2013, 11:35:20 am »
In manual mode it doesn't know anything about your variables.