Class CanceledCommand
java.lang.Object
org.eclipse.core.commands.operations.AbstractOperation
org.eclipse.gmf.runtime.common.core.command.AbstractCommand
de.uka.ipd.sdq.pcm.gmf.allocation.helper.CanceledCommand
- All Implemented Interfaces:
IUndoableOperation,org.eclipse.gmf.runtime.common.core.command.ICommand,org.eclipse.gmf.runtime.common.core.internal.command.ICommandWithSettableResult
public class CanceledCommand
extends org.eclipse.gmf.runtime.common.core.command.AbstractCommand
This command is passed after a cancelled action.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.gmf.runtime.common.core.command.CommandResultdoExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) protected org.eclipse.gmf.runtime.common.core.command.CommandResultdoRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info) protected org.eclipse.gmf.runtime.common.core.command.CommandResultdoUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info) Methods inherited from class org.eclipse.gmf.runtime.common.core.command.AbstractCommand
compose, dispose, execute, getAffectedFiles, getCommandResult, internalSetResult, redo, reduce, setResult, undoMethods inherited from class org.eclipse.core.commands.operations.AbstractOperation
addContext, canExecute, canRedo, canUndo, getContexts, getLabel, hasContext, removeContext, setLabel, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.gmf.runtime.common.core.command.ICommand
setLabelMethods inherited from interface org.eclipse.core.commands.operations.IUndoableOperation
addContext, canExecute, canRedo, canUndo, getContexts, getLabel, hasContext, removeContext
-
Constructor Details
-
CanceledCommand
public CanceledCommand()Constructs a new CanceledCommand.
-
-
Method Details
-
doExecuteWithResult
protected org.eclipse.gmf.runtime.common.core.command.CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException - Specified by:
doExecuteWithResultin classorg.eclipse.gmf.runtime.common.core.command.AbstractCommand- Throws:
ExecutionException
-
doRedoWithResult
protected org.eclipse.gmf.runtime.common.core.command.CommandResult doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException - Specified by:
doRedoWithResultin classorg.eclipse.gmf.runtime.common.core.command.AbstractCommand- Throws:
ExecutionException
-
doUndoWithResult
protected org.eclipse.gmf.runtime.common.core.command.CommandResult doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException - Specified by:
doUndoWithResultin classorg.eclipse.gmf.runtime.common.core.command.AbstractCommand- Throws:
ExecutionException
-