Class LCommandCaptionDelete
java.lang.Object
com.io7m.laurel.filemodel.internal.LCommandAbstract<Set<LCaptionID>>
com.io7m.laurel.filemodel.internal.LCommandCaptionDelete
- All Implemented Interfaces:
LCommandType<Set<LCaptionID>>
Delete captions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescribe()protected LCommandUndoableonExecute(LFileModel model, LDatabaseTransactionType transaction, Set<LCaptionID> captions) protected voidonRedo(LFileModel model, LDatabaseTransactionType transaction) protected voidonUndo(LFileModel model, LDatabaseTransactionType transaction) static LCommandFactoryType<Set<LCaptionID>> provider()Delete captions.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
-
LCommandCaptionDelete
public LCommandCaptionDelete()Delete captions.
-
-
Method Details
-
provider
Delete captions.- Returns:
- A command factory
-
onExecute
protected LCommandUndoable onExecute(LFileModel model, LDatabaseTransactionType transaction, Set<LCaptionID> captions) - Specified by:
onExecutein classLCommandAbstract<Set<LCaptionID>>
-
onUndo
- Specified by:
onUndoin classLCommandAbstract<Set<LCaptionID>>
-
onRedo
- Specified by:
onRedoin classLCommandAbstract<Set<LCaptionID>>
-
toProperties
- Returns:
- The command as a set of properties
-
describe
- Returns:
- A humanly-readable description of the operation
-