public class ResolveDeltaCommand
extends java.lang.Object
implements org.eclipse.emf.common.command.Command
undoIt.| Constructor and Description |
|---|
ResolveDeltaCommand(DeltaResolver deltaResolver,
Delta resolveDelta,
Resolution deltaResolution) |
ResolveDeltaCommand(DeltaResolver deltaResolver,
java.util.List<Delta> resolveDeltas) |
ResolveDeltaCommand(DeltaResolver deltaResolver,
java.util.List<Delta> deltas,
ResolutionType resolutionType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute() |
boolean |
canUndo()
Currently, Fuse doens't support undo/redo
|
org.eclipse.emf.common.command.Command |
chain(org.eclipse.emf.common.command.Command command) |
void |
dispose() |
void |
execute()
Resolves a delta with the given resolution, either the delta's default
resolution, or the ignore resolution.
|
java.util.Collection |
getAffectedObjects() |
java.lang.String |
getDescription() |
java.lang.String |
getLabel() |
protected java.util.Set |
getOtherContributorDeltaSet() |
protected ResolutionType |
getResolutionType() |
java.util.Collection |
getResult() |
protected java.util.Set |
getThisContributorDeltaSet() |
protected void |
initializeResolutionSets() |
void |
redo() |
protected java.util.List |
reorderDeltas(java.util.Set unordedDeltaSet) |
void |
undo()
This method hasn't been implmented yet.
|
public ResolveDeltaCommand(DeltaResolver deltaResolver, java.util.List<Delta> deltas, ResolutionType resolutionType)
deltaResolver - deltas - resolutionType - public ResolveDeltaCommand(DeltaResolver deltaResolver, java.util.List<Delta> resolveDeltas)
deltaResolver - resolveDeltas - public ResolveDeltaCommand(DeltaResolver deltaResolver, Delta resolveDelta, Resolution deltaResolution)
deltaResolver - resolveDelta - deltaResolution - protected java.util.List reorderDeltas(java.util.Set unordedDeltaSet)
protected ResolutionType getResolutionType()
public boolean canExecute()
canExecute in interface org.eclipse.emf.common.command.Commandpublic void execute()
execute in interface org.eclipse.emf.common.command.Commandprotected void initializeResolutionSets()
public boolean canUndo()
canUndo in interface org.eclipse.emf.common.command.CommandCommand.canUndo()public void redo()
redo in interface org.eclipse.emf.common.command.Commandpublic void undo()
undo in interface org.eclipse.emf.common.command.CommandCommand.undo()public void dispose()
dispose in interface org.eclipse.emf.common.command.Commandpublic org.eclipse.emf.common.command.Command chain(org.eclipse.emf.common.command.Command command)
chain in interface org.eclipse.emf.common.command.Commandpublic java.util.Collection getAffectedObjects()
getAffectedObjects in interface org.eclipse.emf.common.command.Commandpublic java.lang.String getDescription()
getDescription in interface org.eclipse.emf.common.command.Commandpublic java.lang.String getLabel()
getLabel in interface org.eclipse.emf.common.command.Commandpublic java.util.Collection getResult()
getResult in interface org.eclipse.emf.common.command.Commandprotected java.util.Set getOtherContributorDeltaSet()
protected java.util.Set getThisContributorDeltaSet()