Package ca.phon.app.session.editor.undo
Class TierViewEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionEditorUndoableEdit
ca.phon.app.session.editor.undo.TierViewEdit
- All Implemented Interfaces:
IExtendable
,Serializable
,UndoableEdit
Changes to the tier view including order, visibility and locking.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorDescriptionTierViewEdit
(SessionEditor editor, List<TierViewItem> oldView, List<TierViewItem> newView) -
Method Summary
Methods inherited from class ca.phon.app.session.editor.undo.SessionEditorUndoableEdit
getEditor, getExtension, getExtensions, getSource, isSignificant, putExtension, redo, removeExtension, setSource
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getPresentationName, replaceEdit, toString
-
Constructor Details
-
TierViewEdit
-
-
Method Details
-
canRedo
public boolean canRedo()- Specified by:
canRedo
in interfaceUndoableEdit
- Overrides:
canRedo
in classSessionEditorUndoableEdit
-
canUndo
public boolean canUndo()- Specified by:
canUndo
in interfaceUndoableEdit
- Overrides:
canUndo
in classSessionEditorUndoableEdit
-
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
-