Class OKCommand
- java.lang.Object
-
- org.eclipse.core.commands.operations.AbstractOperation
-
- org.eclipse.gmf.runtime.common.core.command.AbstractCommand
-
- de.uka.ipd.sdq.pcm.gmf.seff.helper.OKCommand
-
- All Implemented Interfaces:
IUndoableOperation,org.eclipse.gmf.runtime.common.core.command.ICommand,org.eclipse.gmf.runtime.common.core.internal.command.ICommandWithSettableResult
public class OKCommand extends org.eclipse.gmf.runtime.common.core.command.AbstractCommandThis class handles the OKCommand used in EditHelpers.
-
-
Constructor Summary
Constructors Constructor Description OKCommand()Constructor for an OKCommand.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.gmf.runtime.common.core.command.CommandResultdoExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)Do execute with result.protected org.eclipse.gmf.runtime.common.core.command.CommandResultdoRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)Do redo with result.protected org.eclipse.gmf.runtime.common.core.command.CommandResultdoUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)Do undo with result.-
Methods inherited from class org.eclipse.gmf.runtime.common.core.command.AbstractCommand
compose, dispose, execute, getAffectedFiles, getCommandResult, internalSetResult, redo, reduce, setResult, undo
-
Methods inherited from class org.eclipse.core.commands.operations.AbstractOperation
addContext, canExecute, canRedo, canUndo, getContexts, getLabel, hasContext, removeContext, setLabel, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.core.commands.operations.IUndoableOperation
addContext, canExecute, canRedo, canUndo, getContexts, getLabel, hasContext, removeContext
-
-
-
-
Method Detail
-
doExecuteWithResult
protected org.eclipse.gmf.runtime.common.core.command.CommandResult doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info) throws ExecutionException
Do execute with result.- Specified by:
doExecuteWithResultin classorg.eclipse.gmf.runtime.common.core.command.AbstractCommand- Parameters:
progressMonitor- the progress monitorinfo- 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:
doRedoWithResultin classorg.eclipse.gmf.runtime.common.core.command.AbstractCommand- Parameters:
progressMonitor- the progress monitorinfo- 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:
doUndoWithResultin classorg.eclipse.gmf.runtime.common.core.command.AbstractCommand- Parameters:
progressMonitor- the progress monitorinfo- 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)
-
-