MergeCommand instead.@Deprecated public class CopyCommand extends AbstractCopyCommand
Note that this will merge all differences that are passed to it, whether they're conflicting or not.
AbstractCommand.NonDirtyingdifferences, leftToRight, mergerRegistrychangeDescription, changeRecorder, notifier, notifiersdescription, isExecutable, isPrepared, label| Constructor and Description |
|---|
CopyCommand(ChangeRecorder changeRecorder,
Collection<Notifier> notifiers,
List<? extends Diff> differences,
boolean leftToRight,
IMerger.Registry mergerRegistry)
Deprecated.
Constructs an instance of this command given the list of differences that it needs to merge.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute()
Deprecated.
|
canExecute, dispose, getAffectedObjects, getChangedDiffs, getChangedDiffs, isLeftToRightcreateChangeRecorder, disposeChangeRecorder, execute, getChangeDescription, getChangeRecorder, prepare, redo, setChangeDescription, undocanUndo, chain, getDescription, getLabel, getResult, setDescription, setLabel, toStringpublic CopyCommand(ChangeRecorder changeRecorder, Collection<Notifier> notifiers, List<? extends Diff> differences, boolean leftToRight, IMerger.Registry mergerRegistry)
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.protected void doExecute()
doExecute in class ChangeCommandChangeCommand.doExecute()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.