The library, and so the journal, is read when the action runs rather than when it was built: one instance serves every library the session opens.
| Modifier and Type | Field and Description |
|---|---|
| private final DialogService | |
| private final StateManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private static String | |
| private void |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| stateManager | back to summary |
|---|---|
| private final StateManager stateManager | |
| UndoAction | back to summary |
|---|---|
| public UndoAction(DialogService dialogService, StateManager stateManager) | |
| execute | back to summary |
|---|---|
public void execute()
| |
| message | back to summary |
|---|---|
| private static String message(UndoStep step) | |
| undo | back to summary |
|---|---|
| private void undo(GuiUndoManager undoManager) | |