It is invoked during undo/redo to allow itself to return to a previous state or similar one. See the Memento Pattern in the Design Patterns book.
This interface allows the undo/redo framework not to depend explicitly on its usage context.
At run time, this interface is implemented by the UI environemnt where the ODOM editors operate (Eclipse).
|
|
|
|
|
|
|
|
|
|
|
|
|
|