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.Command
public void execute()
execute
in interface org.eclipse.emf.common.command.Command
protected void initializeResolutionSets()
public boolean canUndo()
canUndo
in interface org.eclipse.emf.common.command.Command
Command.canUndo()
public void redo()
redo
in interface org.eclipse.emf.common.command.Command
public void undo()
undo
in interface org.eclipse.emf.common.command.Command
Command.undo()
public void dispose()
dispose
in interface org.eclipse.emf.common.command.Command
public org.eclipse.emf.common.command.Command chain(org.eclipse.emf.common.command.Command command)
chain
in interface org.eclipse.emf.common.command.Command
public java.util.Collection getAffectedObjects()
getAffectedObjects
in interface org.eclipse.emf.common.command.Command
public java.lang.String getDescription()
getDescription
in interface org.eclipse.emf.common.command.Command
public java.lang.String getLabel()
getLabel
in interface org.eclipse.emf.common.command.Command
public java.util.Collection getResult()
getResult
in interface org.eclipse.emf.common.command.Command
protected java.util.Set getOtherContributorDeltaSet()
protected java.util.Set getThisContributorDeltaSet()