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.usage.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
The Class CanceledCommand.
  • Constructor Details

    • CanceledCommand

      public CanceledCommand()
      Instantiates a new canceled command.
  • Method Details

    • doExecuteWithResult

      protected org.eclipse.gmf.runtime.common.core.command.CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException
      Do execute with result.
      Specified by:
      doExecuteWithResult in class org.eclipse.gmf.runtime.common.core.command.AbstractCommand
      Parameters:
      progressMonitor - the progress monitor
      info - the info
      Returns:
      the command result
      Throws:
      ExecutionException - the execution exception
      See Also:
      • AbstractCommand.doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
    • doRedoWithResult

      protected org.eclipse.gmf.runtime.common.core.command.CommandResult doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException
      Do redo with result.
      Specified by:
      doRedoWithResult in class org.eclipse.gmf.runtime.common.core.command.AbstractCommand
      Parameters:
      progressMonitor - the progress monitor
      info - the info
      Returns:
      the command result
      Throws:
      ExecutionException - the execution exception
      See Also:
      • AbstractCommand.doRedoWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)
    • doUndoWithResult

      protected org.eclipse.gmf.runtime.common.core.command.CommandResult doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException
      Do undo with result.
      Specified by:
      doUndoWithResult in class org.eclipse.gmf.runtime.common.core.command.AbstractCommand
      Parameters:
      progressMonitor - the progress monitor
      info - the info
      Returns:
      the command result
      Throws:
      ExecutionException - the execution exception
      See Also:
      • AbstractCommand.doUndoWithResult(org.eclipse.core.runtime.IProgressMonitor, org.eclipse.core.runtime.IAdaptable)