Creating a own UndoManager that can be applied to all TextViewers [message #224642] |
Thu, 08 April 2004 11:44 |
Eclipse User |
|
|
|
Originally posted by: rishidas.hotmail.com
Problem:
I have to create a plugin (SmartUndo)which when activated by Cutomize
Perspective-->Other -->SmartUndo will have a undo like button on workbench
toolbar. This undo button will be able to show all current change commands
in a drop down list when clicked. When user clicks particular command,
only that change gets undone in the text editor.
Questions:
1. I have copied the DefaultUndoManager and changing the code.But How do I
invoke this class when my Undo button is clicked.
2. I guess the issue most of people in discussion board was how to
override und/redo methods for any view that they are creating.My problem
is I want this plugin to work on any view but have different functionality.
|
|
|
Powered by
FUDForum. Page generated in 0.03908 seconds