Package ca.phon.app.session.editor.undo
Class DeleteRecordEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionEditorUndoableEdit
ca.phon.app.session.editor.undo.DeleteRecordEdit
- All Implemented Interfaces:
IExtendable
,Serializable
,UndoableEdit
Delete the current record.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorDescriptionDeleteRecordEdit
(SessionEditor editor) DeleteRecordEdit
(SessionEditor editor, int recordIndex) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doIt()
'Do' the specified action.void
setFireEvent
(boolean fireEvent) void
undo()
Methods inherited from class ca.phon.app.session.editor.undo.SessionEditorUndoableEdit
canRedo, canUndo, getEditor, getExtension, getExtensions, getSource, isSignificant, putExtension, redo, removeExtension, setSource
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getPresentationName, getRedoPresentationName, getUndoPresentationName, replaceEdit, toString
-
Constructor Details
-
DeleteRecordEdit
-
DeleteRecordEdit
-
-
Method Details
-
setFireEvent
public void setFireEvent(boolean fireEvent) -
undo
public void undo()- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classSessionEditorUndoableEdit
-
doIt
public void doIt()Description copied from class:SessionEditorUndoableEdit
'Do' the specified action. The method is called by the EditorUnsoSupport when new edits are posted.- Specified by:
doIt
in classSessionEditorUndoableEdit
-