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