public class ScriptEditorUndoItem extends Object implements IStagedStateEditable
RCSID| Constructor and Description |
|---|
ScriptEditorUndoItem(ScriptChangeHandler sch,
UndoableEdit docEdit) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
prepareForRedo() |
boolean |
prepareForUndo() |
void |
restoreState(Hashtable stateTable) |
void |
storeState(Hashtable stateTable) |
public ScriptEditorUndoItem(ScriptChangeHandler sch, UndoableEdit docEdit)
sch - The ScriptChangeHandler context.docEdit - The source of the change.public void storeState(Hashtable stateTable)
storeState in interface StateEditablepublic void restoreState(Hashtable stateTable)
restoreState in interface StateEditablepublic boolean prepareForUndo()
prepareForUndo in interface IStagedStateEditablepublic boolean prepareForRedo()
prepareForRedo in interface IStagedStateEditableCopyright © 2019. All rights reserved.