Package editor
Class ScriptEditorUndoItem
java.lang.Object
editor.ScriptEditorUndoItem
- All Implemented Interfaces:
IStagedStateEditable
,StateEditable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private UndoableEdit
private int
private int
private ScriptChangeHandler
Fields inherited from interface javax.swing.undo.StateEditable
RCSID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
restoreState
(Hashtable stateTable) void
storeState
(Hashtable stateTable)
-
Field Details
-
_sch
-
_bUndo
private boolean _bUndo -
_iUndoPos
private int _iUndoPos -
_iRedoPos
private int _iRedoPos -
_docEdit
-
-
Constructor Details
-
ScriptEditorUndoItem
- Parameters:
sch
- The ScriptChangeHandler context.docEdit
- The source of the change.
-
-
Method Details
-
storeState
- Specified by:
storeState
in interfaceStateEditable
-
restoreState
- Specified by:
restoreState
in interfaceStateEditable
-
prepareForUndo
public boolean prepareForUndo()- Specified by:
prepareForUndo
in interfaceIStagedStateEditable
-
prepareForRedo
public boolean prepareForRedo()- Specified by:
prepareForRedo
in interfaceIStagedStateEditable
-