Class MediaLocationEdit
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
ca.phon.app.session.editor.undo.SessionUndoableEdit
ca.phon.app.session.editor.undo.MediaLocationEdit
- All Implemented Interfaces:
IExtendable,Serializable,UndoableEdit
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal booleanstatic final StringUser pref property for keeping extension when setting media locationFields inherited from class javax.swing.undo.AbstractUndoableEdit
RedoName, UndoName -
Constructor Summary
ConstructorsConstructorDescriptionMediaLocationEdit(SessionEditor editor, String mediaLocation) MediaLocationEdit(Project project, Session session, EditorEventManager editorEventManager, String mediaLocation) -
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, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Field Details
-
KEEP_MEDIA_EXTENSION_PROP
User pref property for keeping extension when setting media location -
DEFAULT_KEEP_MEDIA_EXTENSION
public final boolean DEFAULT_KEEP_MEDIA_EXTENSION- See Also:
-
-
Constructor Details
-
MediaLocationEdit
-
MediaLocationEdit
public MediaLocationEdit(Project project, Session session, EditorEventManager editorEventManager, String mediaLocation)
-
-
Method Details
-
getMediaLocation
-
getOldLocation
-
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
-