Modifier and Type | Class and Description |
---|---|
static class |
ChangeSetExecutor.Type |
warnedDeprecatedClasses
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Abort the current task.
|
static ChangeSetExecutor |
createRedo(ChangeSet changeSet,
UndoContext context)
Create a new redo operation.
|
static ChangeSetExecutor |
createUndo(ChangeSet changeSet,
UndoContext context)
Create a new undo operation.
|
Operation |
resume(RunContext run)
Complete the next step.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addStatusMessages, getStatusMessages
public Operation resume(RunContext run) throws WorldEditException
Operation
resume
in interface Operation
run
- describes information about the current runWorldEditException
- an errorpublic void cancel()
Operation
Operation.resume(RunContext)
should not be called at any point in the
future. This method should not be called after successful completion of
the operation. This method must be called if the operation is
interrupted before completion.public static ChangeSetExecutor createUndo(ChangeSet changeSet, UndoContext context)
changeSet
- the change setcontext
- an undo contextpublic static ChangeSetExecutor createRedo(ChangeSet changeSet, UndoContext context)
changeSet
- the change setcontext
- an undo context