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