public class MergeCommand extends AbstractCopyCommand
doExecute() to the
IMergeRunnable.merge(List, boolean, IMerger.Registry) method.AbstractCommand.NonDirtyingdifferences, leftToRight, mergerRegistrychangeDescription, changeRecorder, notifier, notifiersdescription, 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, isLeftToRightcreateChangeRecorder, dispose, disposeChangeRecorder, execute, getChangeDescription, getChangeRecorder, prepare, redo, setChangeDescription, undocanUndo, chain, getDescription, getLabel, getResult, setDescription, setLabel, toStringpublic 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 ChangeCommandChangeCommand.doExecute()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.