Package ca.phon.app.session.editor.undo
Class AddTierEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionEditorUndoableEdit
ca.phon.app.session.editor.undo.AddTierEdit
- All Implemented Interfaces:
IExtendable
,Serializable
,UndoableEdit
Add a new tier to the session. This will also add a new empty tier
to each record.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorDescriptionAddTierEdit
(SessionEditor editor, TierDescription tierDesc, TierViewItem tvi) AddTierEdit
(SessionEditor editor, TierDescription tierDesc, TierViewItem tvi, int index) -
Method Summary
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, replaceEdit, toString
-
Constructor Details
-
AddTierEdit
-
AddTierEdit
-
-
Method Details
-
getRedoPresentationName
- Specified by:
getRedoPresentationName
in interfaceUndoableEdit
- Overrides:
getRedoPresentationName
in classAbstractUndoableEdit
-
getUndoPresentationName
- Specified by:
getUndoPresentationName
in interfaceUndoableEdit
- Overrides:
getUndoPresentationName
in classAbstractUndoableEdit
-
undo
- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classSessionEditorUndoableEdit
- Throws:
CannotUndoException
-
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
-