[api-dev] info/CWS undoapi : new UNDO API

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[api-dev] info/CWS undoapi : new UNDO API


          Type: info
         Title: new UNDO API
     Posted by: [hidden email]
      Affected: api
         TaskId: i33781
Effective from: CWS undoapi
    CWS status: new

+ css.document.XUndoManagerSupplier
+ css.document.XUndoManager
+ css.document.XUndoManagerListener
+ css.document.UndoManagerEvent
+ css.document.UndoFailedException
+ css.document.UndoContextNotClosedException
+ css.document.EmptyUndoStackException

CWS introduces some new API in the css.document module, which allows
access to a document's Undo/Redo stack. It allows adding own undo
actions to the stack and undo/redo of existing actions.

Also, it supports so-called Undo contexts, which encapsulate multiple
Undo actions, which then appear as a single Undo-able entry only. This
is especially interesting for code which does multiple programmatic
changes to a document. Enclosing those changes in an Undo context
means they all can be undone by the user with a single click only.

For details of the API, look at the autodoc-generated IDL reference,
once the CWS is integrated into MWS.

Send feedback to [hidden email]

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]