|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.ide.controller.Command
oracle.ide.ceditor.UndoWrapperCommand
public final class UndoWrapperCommand
The UndoWrapperCommand class implements the IDE command and is used by the Code Editor to wrap undo messages generated by user typing. It relies on the updater to notify observers of the Node with an UpdateMessager.
Command| Field Summary |
|---|
| Fields inherited from class oracle.ide.controller.Command |
|---|
CANCEL, context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, OK, type |
| Constructor Summary | |
|---|---|
UndoWrapperCommand(javax.swing.undo.UndoableEdit edit, java.lang.Object updater)Constructs a new UndoWrapperCommand based on the given edit and editor. |
|
| Method Summary | |
|---|---|
int |
doit()Apply the change represented by edit. |
java.lang.String |
getName()Gets the name of the command to display as the action to undo |
int |
undo()Undo the change represented by the edit. |
| Methods inherited from class oracle.ide.controller.Command |
|---|
getAffectedNodes, getContext, getData, getId, getType, isGlobal, setContext, setData |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UndoWrapperCommand(javax.swing.undo.UndoableEdit edit,
java.lang.Object updater)
edit - the edit changeupdater - the node updater to store| Method Detail |
|---|
public int doit()
doit in class Commandpublic int undo()
undo in class Commandpublic java.lang.String getName()
getName in class Command
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||