Set End Time option for simulation toolbar stepping actions
Currently the platform contains an action SetDuration
to set the duration of stepping for a dynamic experiment. Some users also want to be able to set an end time for simulation stepping instead.
Tasks:
-
Add new preference for end time and stepping mode ( enum { DURATION, END_TIME }
) toSimulationPreferences
and related classes -
Add new SetEndTime
action for asking the end time preference -
Make both SetDuration
andSetEndTime
change the stepping mode to the respective setting -
Update Step toolbar item tooltip according to chosen mode/duration/end time
Edited by Tuukka Lehtonen