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.NonDirtying
differences, leftToRight, mergerRegistry
changeDescription, changeRecorder, notifier, notifiers
description, 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, getAffectedObjects, isLeftToRight
createChangeRecorder, dispose, disposeChangeRecorder, execute, getChangeDescription, getChangeRecorder, prepare, redo, setChangeDescription, undo
canUndo, chain, getDescription, getLabel, getResult, setDescription, setLabel, toString
public 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 ChangeCommand
ChangeCommand.doExecute()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.