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