Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse EMF Model Transaction Development Guide
Previous Page Home Next Page

Implementing Undo/Redo Actions with the Operation History

The workspace editing domain API provides convenient specializations of the EMF.Edit UI framework's undo and redo actions, that delegate to the Eclipse Operation History API's undo/redo action handlers.

[ as SVG]

The UndoActionWrapper and RedoActionWrapper classes provide replacements for EMF's undo/redo actions that delegate to the operation history API's action handlers. These wrappers create undo/redo action handlers on the undo context obtained by adapting the active editor part to the IUndoContext type. Usually this undo context is a resource context.

Copyright (c) 2006, 2007 IBM Corporation and others. All Rights Reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire