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