Allow simulation stop handling in Simantics/Sequences
`StopReason` enumerates supported reasons for simulation stops which is
delivered once to functions registered through `executeWhenStopped`.
It is up to the domain-specific sequence runners to implement the actual
identification of simulation stopping situations and to invoke
AbstractActionContext.stop(StopReason reason) when needed.
gitlab #385
Change-Id: I2bc354b3bf433909c5224f82c98c17b1ec564920
- [D] bundles/org.simantics.simulation.sequences/src/org/simantics/simulation/sequences/action/StopReason.java