Class LCommandImageCaptionsUnassign
java.lang.Object
com.io7m.laurel.filemodel.internal.LCommandAbstract<List<LImageCaptionsAssignment>>
com.io7m.laurel.filemodel.internal.LCommandImageCaptionsUnassign
- All Implemented Interfaces:
LCommandType<List<LImageCaptionsAssignment>>
public final class LCommandImageCaptionsUnassign
extends LCommandAbstract<List<LImageCaptionsAssignment>>
Unassign captions from images.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()protected LCommandUndoableonExecute(LFileModel model, LDatabaseTransactionType transaction, List<LImageCaptionsAssignment> images) protected voidonRedo(LFileModel model, LDatabaseTransactionType transaction) protected voidonUndo(LFileModel model, LDatabaseTransactionType transaction) provider()Unassign captions from images.Methods inherited from class com.io7m.laurel.filemodel.internal.LCommandAbstract
execute, isExecuted, redo, setExecuted, undoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.laurel.filemodel.internal.LCommandType
loading, requiresCompaction, serialize
-
Constructor Details
-
LCommandImageCaptionsUnassign
public LCommandImageCaptionsUnassign()Unassign captions from images.
-
-
Method Details
-
provider
Unassign captions from images.- Returns:
- A command factory
-
onExecute
protected LCommandUndoable onExecute(LFileModel model, LDatabaseTransactionType transaction, List<LImageCaptionsAssignment> images) - Specified by:
onExecutein classLCommandAbstract<List<LImageCaptionsAssignment>>
-
onUndo
- Specified by:
onUndoin classLCommandAbstract<List<LImageCaptionsAssignment>>
-
onRedo
- Specified by:
onRedoin classLCommandAbstract<List<LImageCaptionsAssignment>>
-
toProperties
- Returns:
- The command as a set of properties
-
describe
- Returns:
- A humanly-readable description of the operation
-