public class MergeCommand extends AbstractCopyCommand
doExecute()
to the
IMergeRunnable.merge(List, boolean, IMerger.Registry)
method.AbstractCommand.NonDirtying
differences, leftToRight, mergerRegistry
changeDescription, changeRecorder, notifier, notifiers
description, isExecutable, isPrepared, label
Constructor and Description |
---|
MergeCommand(ChangeRecorder changeRecorder,
Collection<Notifier> notifiers,
List<? extends Diff> differences,
boolean leftToRight,
IMerger.Registry mergerRegistry,
IMergeRunnable runnable)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doExecute() |
canExecute, getAffectedObjects, isLeftToRight
createChangeRecorder, dispose, disposeChangeRecorder, execute, getChangeDescription, getChangeRecorder, prepare, redo, setChangeDescription, undo
canUndo, chain, getDescription, getLabel, getResult, setDescription, setLabel, toString
public MergeCommand(ChangeRecorder changeRecorder, Collection<Notifier> notifiers, List<? extends Diff> differences, boolean leftToRight, IMerger.Registry mergerRegistry, IMergeRunnable runnable)
changeRecorder
- The change recorder associated to this command.notifiers
- The collection of notifiers that will be notified of this command's execution.differences
- The list of differences that this command should merge.leftToRight
- The direction in which differences
should be merged.mergerRegistry
- The registry of mergers.runnable
- The merge runnable to delegate to.protected void doExecute()
doExecute
in class ChangeCommand
ChangeCommand.doExecute()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.