Class 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
    A canceled command.
    • Constructor Detail

      • CanceledCommand

        public CanceledCommand()
        Initializes the command.
    • Method Detail

      • doExecuteWithResult

        protected org.eclipse.gmf.runtime.common.core.command.CommandResult doExecuteWithResult​(IProgressMonitor progressMonitor,
                                                                                                IAdaptable info)
                                                                                         throws ExecutionException
        Specified by:
        doExecuteWithResult in class org.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:
        doRedoWithResult in class org.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:
        doUndoWithResult in class org.eclipse.gmf.runtime.common.core.command.AbstractCommand
        Throws:
        ExecutionException