Class NotifyingOperation
- java.lang.Object
- 
- com._1c.g5.v8.bm.integration.AbstractBmTask<Void>
- 
- com._1c.g5.v8.dt.moxel.ui.operations.BaseOperation
- 
- com._1c.g5.v8.dt.moxel.ui.operations.NotifyingOperation
 
 
 
- 
- All Implemented Interfaces:
- IBmPostUndoRedoHandler,- IBmTask<Void>
 - Direct Known Subclasses:
- AddRemoveDrawingOperation,- AddRemoveGroupOperation,- ChangeCellsOperation,- ChangeDrawingOperation,- ChangeDrawingPositionOperation,- ChangeDrawingZOrder,- ChangeGroupOperation,- ChangeGroupParametersOperation,- ChangeHeaderFooterOperation,- ChangeParagraphPropertyOperation,- ChangeRowsColumnsOperation,- ChangeSpreadsheetOperation,- CollapseToLevelOperation,- CopyCellsOperation,- CopyDrawingsOperation,- CutDrawingsOperation,- DeleteInsertCellsOperation,- ExpandCollapseAllOperation,- ExpandCollapseOperation,- GroupDrawngsOperation,- MergeAndUnmergeOperation,- RemoveRowColumnsOperation,- RenameAreaOperation,- SetAutoWidthCalculationOperation,- SetColumnWidthOperation,- SetDefaultWidthWeightFactorOperation,- SetRemovePrintAreaOperation,- SetRemoveRepeatedColumnsOperation,- SetRemoveRepeatedRowsOperation,- SetRowHeightOperation,- SetSheetDefaultHeightOperation,- SetSheetDefaultWidthOperation,- SetWidthWeightFactorOperation,- ShowHideOperation,- UngroupDrawingsOperation
 
 public abstract class NotifyingOperation extends BaseOperation 
- 
- 
Field Summary- 
Fields inherited from class com._1c.g5.v8.dt.moxel.ui.operations.BaseOperationsheet
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedNotifyingOperation(String label, SheetAccessor sheet)Constructs a new instance.protectedNotifyingOperation(String label, SheetAccessor sheet, boolean readOnly, boolean nested)Constructs a new instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisReadOnly()Checks if the operation is read-only.voidonExecute()The method invoked outside the transaction after the 'execute' method.voidonRedo()The method invoked after the task is redone.voidonUndo()The method invoked after the task is undone.protected voidpostExecute()Subclasses override this method to provide post-execute logic.protected voidpostRedo()Subclasses override this method to provide post-redo logic.protected voidpostUndo()Subclasses override this method to provide post-undo logic.- 
Methods inherited from class com._1c.g5.v8.bm.integration.AbstractBmTaskgetId, getName, getServiceId
 
- 
 
- 
- 
- 
Constructor Detail- 
NotifyingOperationprotected NotifyingOperation(String label, SheetAccessor sheet) Constructs a new instance.- Parameters:
- label- The operation label. May not be- null.
- sheet- The spreadsheet accessor. May not be- null.
 
 - 
NotifyingOperationprotected NotifyingOperation(String label, SheetAccessor sheet, boolean readOnly, boolean nested) Constructs a new instance.- Parameters:
- label- The operation label. May not be- null.
- sheet- The spreadsheet accessor. May not be- null.
- readOnly- The flag indicating whether the operation is read-only.
- nested- The flag indicating whether the operation is nested.
 
 
- 
 - 
Method Detail- 
onUndopublic final void onUndo() Description copied from interface:IBmPostUndoRedoHandlerThe method invoked after the task is undone.
 - 
onRedopublic final void onRedo() Description copied from interface:IBmPostUndoRedoHandlerThe method invoked after the task is redone.
 - 
onExecutepublic final void onExecute() Description copied from class:BaseOperationThe method invoked outside the transaction after the 'execute' method.- Specified by:
- onExecutein class- BaseOperation
 
 - 
isReadOnlypublic final boolean isReadOnly() Description copied from class:BaseOperationChecks if the operation is read-only.- Specified by:
- isReadOnlyin class- BaseOperation
- Returns:
- trueif the operation is read-only,- falseotherwise.
 
 - 
postUndoprotected void postUndo() Subclasses override this method to provide post-undo logic.
 - 
postRedoprotected void postRedo() Subclasses override this method to provide post-redo logic.
 - 
postExecuteprotected void postExecute() Subclasses override this method to provide post-execute logic.
 
- 
 
-