public class ReverseUndoCompositeOperation extends AbstractCompositeOperation
ReverseUndoCompositeOperation
is an
AbstractCompositeOperation
which undoes its combined operations in
the reverse order of their execution.Constructor and Description |
---|
ReverseUndoCompositeOperation(java.lang.String label)
Creates a new
ReverseUndoCompositeOperation with the given label. |
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
undo(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.core.runtime.IAdaptable info) |
add, addAll, addContext, canExecute, canRedo, canUndo, combine, execute, getOperations, isContentRelevant, isEmpty, isNoOp, redo, remove, unwrap
dispose, getContexts, getLabel, hasContext, removeContext, setLabel, toString
public ReverseUndoCompositeOperation(java.lang.String label)
ReverseUndoCompositeOperation
with the given label.label
- The operation's label.public org.eclipse.core.runtime.IStatus undo(org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
undo
in interface org.eclipse.core.commands.operations.IUndoableOperation
undo
in class AbstractCompositeOperation
org.eclipse.core.commands.ExecutionException
Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.