Package editor
Class ScriptEditorUndoItem
- java.lang.Object
-
- editor.ScriptEditorUndoItem
-
- All Implemented Interfaces:
IStagedStateEditable
,StateEditable
public class ScriptEditorUndoItem extends Object implements IStagedStateEditable
-
-
Field Summary
-
Fields inherited from interface javax.swing.undo.StateEditable
RCSID
-
-
Constructor Summary
Constructors Constructor Description ScriptEditorUndoItem(ScriptChangeHandler sch, UndoableEdit docEdit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
prepareForRedo()
boolean
prepareForUndo()
void
restoreState(Hashtable stateTable)
void
storeState(Hashtable stateTable)
-
-
-
Constructor Detail
-
ScriptEditorUndoItem
public ScriptEditorUndoItem(ScriptChangeHandler sch, UndoableEdit docEdit)
- Parameters:
sch
- The ScriptChangeHandler context.docEdit
- The source of the change.
-
-
Method Detail
-
storeState
public void storeState(Hashtable stateTable)
- Specified by:
storeState
in interfaceStateEditable
-
restoreState
public void restoreState(Hashtable stateTable)
- Specified by:
restoreState
in interfaceStateEditable
-
prepareForUndo
public boolean prepareForUndo()
- Specified by:
prepareForUndo
in interfaceIStagedStateEditable
-
prepareForRedo
public boolean prepareForRedo()
- Specified by:
prepareForRedo
in interfaceIStagedStateEditable
-
-