The view detects some user input which was intended to modify the document's data.
The view is usually capable of graphically reflecting the changes to the user immediately,
but the data still contains obsolete information and has to be informed about the user input.
This is done by creating a new Action which corresponds to the user input and calling
the data's applyAction() method.
Example:
Action myAction = new SomeAction(...);
getDocument().getData().applyAction(myAction);
This applies the action to the DocumentData's information and records this action
in the action log, so that it can be undone at a later time.