Package org.eclipse.handly.xtext.ui.editor

## Interface IHandlyXtextDocument.IUndoableUnitOfWork<R,​P>

- All Superinterfaces:
    `org.eclipse.xtext.util.concurrent.IUnitOfWork<R,​P>`
  Enclosing interface:
    IHandlyXtextDocument

      public static interface IHandlyXtextDocument.IUndoableUnitOfWork<R,​P>
      extends org.eclipse.xtext.util.concurrent.IUnitOfWork<R,​P>

  Represents an undoable unit of work.

  If a top-level modifying unit of work is undoable, it will be `informed` of an undo change that can be `applied` to the document to revert any `modifications` made by the whole transaction.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.eclipse.xtext.util.concurrent.IUnitOfWork

      `org.eclipse.xtext.util.concurrent.IUnitOfWork.Void<T extends java.lang.Object>`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `acceptUndoChange​(IDocumentChange undoChange)` | Informs this unit of work of an undo change.

    - ### Methods inherited from interface org.eclipse.xtext.util.concurrent.IUnitOfWork

      `exec`

- - ### Method Detail

    - #### acceptUndoChange

          void acceptUndoChange​(IDocumentChange undoChange)

      Informs this unit of work of an undo change.
      Parameters:
        `undoChange` - never `null`