public class ProgressStrictCompoundCommand
extends org.eclipse.emf.common.command.StrictCompoundCommand
StrictCompoundCommand
which reports the progress.isPessimistic, isUndoable, rightMostExecutedCommandIndex
Constructor and Description |
---|
ProgressStrictCompoundCommand(IProgressMonitorProvider monitor)
Creates an empty instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
appendAndExecute(org.eclipse.emf.common.command.Command command) |
void |
execute() |
protected boolean |
prepare() |
void |
redo() |
String |
toString() |
void |
undo() |
append, appendIfCanExecute, canUndo, dispose, getAffectedObjects, getCommandList, getDescription, getLabel, getMergedAffectedObjectsCollection, getMergedResultCollection, getResult, getResultIndex, isEmpty, unwrap
public ProgressStrictCompoundCommand(IProgressMonitorProvider monitor)
monitor
- the monitorprotected boolean prepare()
prepare
in class org.eclipse.emf.common.command.StrictCompoundCommand
public void execute()
execute
in interface org.eclipse.emf.common.command.Command
execute
in class org.eclipse.emf.common.command.StrictCompoundCommand
public void undo()
undo
in interface org.eclipse.emf.common.command.Command
undo
in class org.eclipse.emf.common.command.StrictCompoundCommand
public void redo()
redo
in interface org.eclipse.emf.common.command.Command
redo
in class org.eclipse.emf.common.command.StrictCompoundCommand
public boolean appendAndExecute(org.eclipse.emf.common.command.Command command)
appendAndExecute
in class org.eclipse.emf.common.command.StrictCompoundCommand
public String toString()
toString
in class org.eclipse.emf.common.command.StrictCompoundCommand
Copyright © 2019. All rights reserved.