Class ChangeGroupOperation

All Implemented Interfaces:
IBmPostUndoRedoHandler, IBmTask<Void>

public final class ChangeGroupOperation extends NotifyingOperation
Операция изменения группировки.
  • Constructor Details

    • ChangeGroupOperation

      public ChangeGroupOperation(String label, SheetAccessor sheet_, GroupInfo groupInfo, int newBegin_, int newEnd_)
      Конструктор.
  • Method Details

    • execute

      public Void execute(IBmTransaction transaction, org.eclipse.core.runtime.IProgressMonitor monitor)
      Description copied from interface: IBmTask

      The method called by the task executor with an active transaction. The method code must not commit or rollback the transaction.

      If the task is not supposed to return a result, then it may be parameterized with Void and return null.

      Parameters:
      transaction - The active transaction. May not be null.
      monitor - The monitor to indicate the progress. May not be null.
      Returns:
      execution result, may be null.
    • postExecute

      protected void postExecute()
      Description copied from class: NotifyingOperation
      Subclasses override this method to provide post-execute logic.
      Overrides:
      postExecute in class NotifyingOperation
    • postUndo

      protected void postUndo()
      Description copied from class: NotifyingOperation
      Subclasses override this method to provide post-undo logic.
      Overrides:
      postUndo in class NotifyingOperation
    • postRedo

      protected void postRedo()
      Description copied from class: NotifyingOperation
      Subclasses override this method to provide post-redo logic.
      Overrides:
      postRedo in class NotifyingOperation