Package editor
Class ScriptEditorUndoItem
java.lang.Object
editor.ScriptEditorUndoItem
- All Implemented Interfaces:
IStagedStateEditable,StateEditable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate UndoableEditprivate intprivate intprivate ScriptChangeHandlerFields inherited from interface javax.swing.undo.StateEditable
RCSID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidrestoreState(Hashtable stateTable) voidstoreState(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:
storeStatein interfaceStateEditable
-
restoreState
- Specified by:
restoreStatein interfaceStateEditable
-
prepareForUndo
public boolean prepareForUndo()- Specified by:
prepareForUndoin interfaceIStagedStateEditable
-
prepareForRedo
public boolean prepareForRedo()- Specified by:
prepareForRedoin interfaceIStagedStateEditable
-