Class AddTimelineTierIntervalEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionUndoableEdit
ca.phon.app.session.editor.undo.AddTimelineTierIntervalEdit
- All Implemented Interfaces:
IExtendable,Serializable,UndoableEdit
- Direct Known Subclasses:
RemoveTimelineTierIntervalEdit
Undoable edit for adding an interval to a timeline tier.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
ConstructorsConstructorDescriptionAddTimelineTierIntervalEdit(Session session, EditorEventManager eventManager, String tierName, IntervalTier.Interval interval) -
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
-
Constructor Details
-
AddTimelineTierIntervalEdit
public AddTimelineTierIntervalEdit(Session session, EditorEventManager eventManager, String tierName, IntervalTier.Interval interval)
-
-
Method Details
-
getTierName
-
getPresentationName
- Specified by:
getPresentationNamein interfaceUndoableEdit- Overrides:
getPresentationNamein 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:
doItin classSessionUndoableEdit
-
undo
- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit- Throws:
CannotUndoException
-