Package org.openflexo.pamela.undo
-
Class Summary Class Description AddCommand<I> This command corresponds to the ADDING of an object.
This command addresses one property and one value (the value beeing added)AtomicEdit<I> This is an atomic edit managed by PAMELA.
This edit is defined in the context of a givenModelFactorywhich should be passed at construction
AnAtomicEditalways addresses aModelEntityCompoundEdit A concrete subclass ofAbstractUndoableEdit, used to assemble little PAMELAAtomicEditinto a labelledCompoundEdit.
This class is used to aggregates all atomic PAMELA events in an explicit controlled edit.CreateCommand<I> This command corresponds to the CREATION of an object.
This command addresses one model entity (type of newly instantiated object)DeleteCommand<I> This command corresponds to the DELETION of an object.
This command addresses one model entity (type of deleted object)RemoveCommand<I> This command corresponds to the REMOVING of an object.
This command addresses one property and one value (the value beeing removed)SetCommand<I> This command corresponds to the SETTING of a value of an object.
This command addresses one property, the old value and the new valueUndoManager A PAMELAUndoManagertracks and record PAMELA atomic edits into aggregates named compound edit.
It provides a way to undo or redo the appropriate edits.
To instantiate and enable anUndoManager, use theModelFactory#createUndoManager()method.
UndoManagerinternally manages a list ofCompoundEdit, which are aggregates of PAMELA atomic events (AtomicEdit).