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
ConstructorsModifierConstructorDescriptionprotected
BaseOperation
(String label, SheetAccessor sheet) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
Checks if the operation is read-only.abstract void
The method invoked outside the transaction after the 'execute' method.Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTask
getId, getName, getServiceId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
true
if the operation is read-only,false
otherwise.
-