Class TierViewEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionUndoableEdit
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
ConstructorsConstructorDescriptionTierViewEdit(SessionEditor editor, List<TierViewItem> oldView, List<TierViewItem> newView) TierViewEdit(Session session, EditorEventManager editorEventManager, List<TierViewItem> oldView, List<TierViewItem> newView) -
Method Summary
Methods inherited from class ca.phon.app.session.editor.undo.SessionUndoableEdit
getEditorEventManager, getExtension, getExtensions, getSession, getSource, putExtension, redo, removeExtension, setSourceMethods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
TierViewEdit
-
TierViewEdit
public TierViewEdit(Session session, EditorEventManager editorEventManager, List<TierViewItem> oldView, List<TierViewItem> newView)
-
-
Method Details
-
canRedo
public boolean canRedo()- Specified by:
canRedoin interfaceUndoableEdit- Overrides:
canRedoin classSessionUndoableEdit
-
canUndo
public boolean canUndo()- Specified by:
canUndoin interfaceUndoableEdit- Overrides:
canUndoin classSessionUndoableEdit
-
getRedoPresentationName
- Specified by:
getRedoPresentationNamein interfaceUndoableEdit- Overrides:
getRedoPresentationNamein classAbstractUndoableEdit
-
getUndoPresentationName
- Specified by:
getUndoPresentationNamein interfaceUndoableEdit- Overrides:
getUndoPresentationNamein 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
-