Package ca.phon.app.session.editor.undo
Class AddParticipantEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionEditorUndoableEdit
ca.phon.app.session.editor.undo.AddParticipantEdit
- All Implemented Interfaces:
IExtendable
,Serializable
,UndoableEdit
Undo-able edit for adding participants in a
Session
.- See Also:
-
Field Summary
Fields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName
-
Constructor Summary
ConstructorDescriptionAddParticipantEdit
(SessionEditor editor, Participant participant) Constructor -
Method Summary
Methods inherited from class ca.phon.app.session.editor.undo.SessionEditorUndoableEdit
getEditor, getExtension, getExtensions, getSource, putExtension, redo, removeExtension, setSource
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, die, getPresentationName, replaceEdit, toString
-
Constructor Details
-
AddParticipantEdit
Constructor
-
-
Method Details
-
getParticipant
-
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
-
isSignificant
public boolean isSignificant()- Specified by:
isSignificant
in interfaceUndoableEdit
- Overrides:
isSignificant
in classSessionEditorUndoableEdit
-
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
-