Class ShowHideViewEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionUndoableEdit
ca.phon.app.session.editor.undo.ShowHideViewEdit
- All Implemented Interfaces:
IExtendable,Serializable,UndoableEdit
- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
ConstructorsConstructorDescriptionShowHideViewEdit(Session session, EditorEventManager editorEventManager, EditorViewModel viewModel, String viewName, boolean show) Constructor -
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, getPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
ShowHideViewEdit
public ShowHideViewEdit(Session session, EditorEventManager editorEventManager, EditorViewModel viewModel, String viewName, boolean show) Constructor- Parameters:
session-editorEventManager-
-
-
Method Details
-
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
public void undo()- Specified by:
undoin interfaceUndoableEdit- Overrides:
undoin classAbstractUndoableEdit
-
getRedoPresentationName
- Specified by:
getRedoPresentationNamein interfaceUndoableEdit- Overrides:
getRedoPresentationNamein classAbstractUndoableEdit
-
getUndoPresentationName
- Specified by:
getUndoPresentationNamein interfaceUndoableEdit- Overrides:
getUndoPresentationNamein classAbstractUndoableEdit
-