public class DeltaIncrementCommand extends ChangeDeltaCommand
affectedObjects, delta, disposed, increment
Constructor and Description |
---|
DeltaIncrementCommand(ChangeDelta changeDelta,
java.lang.Object newValue,
java.lang.Object affectedObject) |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute() |
boolean |
canUndo() |
void |
dispose() |
void |
execute() |
void |
undo() |
chain, getAffectedObjects, getDescription, getLabel, getResult, redo
public DeltaIncrementCommand(ChangeDelta changeDelta, java.lang.Object newValue, java.lang.Object affectedObject)
changeDelta
- newValue
- public boolean canExecute()
canExecute
in interface org.eclipse.emf.common.command.Command
canExecute
in class ChangeDeltaCommand
public boolean canUndo()
canUndo
in interface org.eclipse.emf.common.command.Command
canUndo
in class ChangeDeltaCommand
public void execute()
public void dispose()
dispose
in interface org.eclipse.emf.common.command.Command
dispose
in class ChangeDeltaCommand
public void undo()