Changes between Version 42 and Version 43 of mvc


Ignore:
Timestamp:
01/15/24 15:08:06 (11 months ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mvc

    v42 v43  
    1919== The Model
    2020The toolbox has a hierarchy of Models. This section describes the various standard models.
     21
     22=== ModelTime
     23We start with ModelTime. This is NOT the MVC model but a class needed by the MVC model, therefore we explain it first.
     24The ModelTime is a listenable object containing the current time of the MVC models. All MVC models store a history, and at all times deliver the value stored at (or after) the current time.
     25
     26By changing the current time (using ModelTime.set()) all MVC values can be reverted to another point in time. All your MVC models should connect to the same ModelTime instance to ensure they all act consistently.
     27
     28You can use the DefaultModelTime if your MVC supports history/undo/redo, or use the NoModelTime if your MVC does not support history.
     29
     30
    2131
    2232=== Model and Compound Models.