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