public class NoopCommand
extends org.eclipse.gmf.runtime.common.core.command.AbstractCommand
Constructor and Description |
---|
NoopCommand()
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute() |
boolean |
canRedo() |
boolean |
canUndo() |
protected org.eclipse.gmf.runtime.common.core.command.CommandResult |
doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor progressMonitor,
org.eclipse.core.runtime.IAdaptable info) |
protected org.eclipse.gmf.runtime.common.core.command.CommandResult |
doRedoWithResult(org.eclipse.core.runtime.IProgressMonitor progressMonitor,
org.eclipse.core.runtime.IAdaptable info) |
protected org.eclipse.gmf.runtime.common.core.command.CommandResult |
doUndoWithResult(org.eclipse.core.runtime.IProgressMonitor progressMonitor,
org.eclipse.core.runtime.IAdaptable info) |
static NoopCommand |
getInstance()
Returns the shared static instance of this command.
|
compose, dispose, execute, getAffectedFiles, getCommandResult, internalSetResult, redo, reduce, setResult, undo
addContext, getContexts, getLabel, hasContext, removeContext, setLabel, toString
public static final NoopCommand getInstance()
protected org.eclipse.gmf.runtime.common.core.command.CommandResult doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor progressMonitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
doExecuteWithResult
in class org.eclipse.gmf.runtime.common.core.command.AbstractCommand
org.eclipse.core.commands.ExecutionException
protected org.eclipse.gmf.runtime.common.core.command.CommandResult doRedoWithResult(org.eclipse.core.runtime.IProgressMonitor progressMonitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
doRedoWithResult
in class org.eclipse.gmf.runtime.common.core.command.AbstractCommand
org.eclipse.core.commands.ExecutionException
protected org.eclipse.gmf.runtime.common.core.command.CommandResult doUndoWithResult(org.eclipse.core.runtime.IProgressMonitor progressMonitor, org.eclipse.core.runtime.IAdaptable info) throws org.eclipse.core.commands.ExecutionException
doUndoWithResult
in class org.eclipse.gmf.runtime.common.core.command.AbstractCommand
org.eclipse.core.commands.ExecutionException
public boolean canExecute()
canExecute
in interface org.eclipse.core.commands.operations.IUndoableOperation
canExecute
in class org.eclipse.core.commands.operations.AbstractOperation
public boolean canRedo()
canRedo
in interface org.eclipse.core.commands.operations.IUndoableOperation
canRedo
in class org.eclipse.core.commands.operations.AbstractOperation
public boolean canUndo()
canUndo
in interface org.eclipse.core.commands.operations.IUndoableOperation
canUndo
in class org.eclipse.core.commands.operations.AbstractOperation