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 booleanprepareForRedo()booleanprepareForUndo()voidrestoreState(Hashtable stateTable)voidstoreState(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:
storeStatein interfaceStateEditable
-
restoreState
public void restoreState(Hashtable stateTable)
- Specified by:
restoreStatein interfaceStateEditable
-
prepareForUndo
public boolean prepareForUndo()
- Specified by:
prepareForUndoin interfaceIStagedStateEditable
-
prepareForRedo
public boolean prepareForRedo()
- Specified by:
prepareForRedoin interfaceIStagedStateEditable
-
-