Class BaseOperation
java.lang.Object
com._1c.g5.v8.bm.integration.AbstractBmTask<Void>
com._1c.g5.v8.dt.moxel.ui.operations.BaseOperation
- All Implemented Interfaces:
IBmPostUndoRedoHandler,IBmTask<Void>
- Direct Known Subclasses:
CompositeOperation,NotifyingOperation,SplitCellHorizontalOperation,SplitCellVerticalOperation
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseOperation(String label, SheetAccessor sheet) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanChecks if the operation is read-only.abstract voidThe method invoked outside the transaction after the 'execute' method.Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceIdMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com._1c.g5.v8.bm.integration.IBmPostUndoRedoHandler
onRedo, onUndo
-
Field Details
-
sheet
Табличный документ.
-
-
Constructor Details
-
BaseOperation
Constructs a new instance.- Parameters:
label- The operation label. May not benull.sheet- The spreadsheet accessor. May not benull.
-
-
Method Details
-
onExecute
public abstract void onExecute()The method invoked outside the transaction after the 'execute' method. -
isReadOnly
public abstract boolean isReadOnly()Checks if the operation is read-only.- Returns:
trueif the operation is read-only,falseotherwise.
-