Class MergeAndUnmergeOperation

    • Constructor Detail

      • MergeAndUnmergeOperation

        public MergeAndUnmergeOperation​(String label,
                                        SheetAccessor sheet_,
                                        Selection selection_,
                                        boolean merge_,
                                        PositionHolder positionHolder,
                                        boolean nested)
        label -
        undoContext -
        sheet_ -
    • Method Detail

      • prepareRectForRemoveMerge

        public static void prepareRectForRemoveMerge​( mergeRect,
                                                     SheetAccessor sheet)
        Prepare rectangle for removing merge
        mergeRect -
        sheet -
      • execute

        public Void execute​(IBmTransaction transaction,
                            org.eclipse.core.runtime.IProgressMonitor progressMonitor)
        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.

        transaction - The active transaction. May not be null.
        progressMonitor - The monitor to indicate the progress. May not be null.
        execution result, may be null.