Package ca.phon.app.opgraph.wizard.edits
Class WizardExtensionUndoableEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.opgraph.wizard.edits.WizardExtensionUndoableEdit
- All Implemented Interfaces:
Serializable
,UndoableEdit
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorDescriptionWizardExtensionUndoableEdit
(ca.phon.opgraph.OpGraph graph, WizardExtension oldValue, WizardExtension newValue) -
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
WizardExtensionUndoableEdit
public WizardExtensionUndoableEdit(ca.phon.opgraph.OpGraph graph, WizardExtension oldValue, WizardExtension newValue)
-
-
Method Details
-
getPresentationName
- Specified by:
getPresentationName
in interfaceUndoableEdit
- Overrides:
getPresentationName
in classAbstractUndoableEdit
-
canRedo
public boolean canRedo()- Specified by:
canRedo
in interfaceUndoableEdit
- Overrides:
canRedo
in classAbstractUndoableEdit
-
canUndo
public boolean canUndo()- Specified by:
canUndo
in interfaceUndoableEdit
- Overrides:
canUndo
in classAbstractUndoableEdit
-
getGraph
public ca.phon.opgraph.OpGraph getGraph() -
getOldValue
-
getNewValue
-
undo
- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-
redo
- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
- Throws:
CannotRedoException
-