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

public abstract class BaseOperation extends AbstractBmTask<Void> implements IBmPostUndoRedoHandler
  • Field Details

    • sheet

      protected SheetAccessor sheet
      Табличный документ.
  • Constructor Details

    • BaseOperation

      protected BaseOperation(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.
  • 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.