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