Class AddTimelineTierEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionUndoableEdit
ca.phon.app.session.editor.undo.AddTimelineTierEdit
- All Implemented Interfaces:
IExtendable,Serializable,UndoableEdit
- Direct Known Subclasses:
RemoveTimelineTierEdit
Undoable edit for adding a timeline tier to a session.
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
ConstructorsConstructorDescriptionAddTimelineTierEdit(Session session, EditorEventManager editorEventManager, IntervalTier intervalTier) -
Method Summary
Methods inherited from class ca.phon.app.session.editor.undo.SessionUndoableEdit
canRedo, canUndo, getEditorEventManager, getExtension, getExtensions, getSession, getSource, putExtension, redo, removeExtension, setSourceMethods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Field Details
-
intervalTier
-
-
Constructor Details
-
AddTimelineTierEdit
public AddTimelineTierEdit(Session session, EditorEventManager editorEventManager, IntervalTier intervalTier)
-
-
Method Details
-
getPresentationName
- Specified by:
getPresentationNamein interfaceUndoableEdit- Overrides:
getPresentationNamein classAbstractUndoableEdit
-
undo
- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-
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:
doItin classSessionUndoableEdit
-