Class MoveTierEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionUndoableEdit
ca.phon.app.session.editor.undo.MoveTierEdit
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorsConstructorDescriptionMoveTierEdit
(SessionEditor editor, TierViewItem tierViewItem, int newViewIndex) MoveTierEdit
(Session session, EditorEventManager editorEventManager, TierViewItem tierViewItem, int newViewIndex) -
Method Summary
Methods inherited from class ca.phon.app.session.editor.undo.SessionUndoableEdit
canRedo, canUndo, getEditorEventManager, getExtension, getExtensions, getSession, getSource, putExtension, redo, removeExtension, setSource
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
MoveTierEdit
-
MoveTierEdit
public MoveTierEdit(Session session, EditorEventManager editorEventManager, TierViewItem tierViewItem, int newViewIndex)
-
-
Method Details
-
getPresentationName
- Specified by:
getPresentationName
in interfaceUndoableEdit
- Overrides:
getPresentationName
in classAbstractUndoableEdit
-
undo
public void undo()- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
-
doIt
public void doIt()Description copied from class:SessionUndoableEdit
'Do' the specified action. The method is called by the EditorUnsoSupport when new edits are posted.- Specified by:
doIt
in classSessionUndoableEdit
-