From: Tuukka Lehtonen Date: Fri, 20 Sep 2019 11:17:46 +0000 (+0300) Subject: Allow simulation stop handling in Simantics/Sequences X-Git-Tag: v1.43.0~136^2~66 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=2dd0e97bbe55e691d86a4254e1495ebddd7d494a;hp=2dd0e97bbe55e691d86a4254e1495ebddd7d494a 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 ---