|
Runtime | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CommandResult | |
---|---|
org.eclipse.gmf.runtime.common.core.command | Provides a set of classes for executing, undoing and redoing units of work, known as Commands. |
org.eclipse.gmf.runtime.diagram.core.commands | Aurora internal packages Package Specification this package contains all the supported commands by the diagram layer |
org.eclipse.gmf.runtime.diagram.ui.properties.sections | Aurora internal packages. |
org.eclipse.gmf.runtime.emf.commands.core.command | Specification of the command API for operations that modify EMF models. |
org.eclipse.gmf.runtime.emf.commands.core.commands | A collection of concrete (or at least partially realized) commands that may be reused by any MSL client application. |
org.eclipse.gmf.runtime.emf.type.core.commands | Provides a set of commands that are used to edit model elements. |
org.eclipse.gmf.runtime.emf.ui.properties.commands | Reusable commands for use in implementing property editors. |
Uses of CommandResult in org.eclipse.gmf.runtime.common.core.command |
---|
Methods in org.eclipse.gmf.runtime.common.core.command that return CommandResult | |
---|---|
protected CommandResult |
UnexecutableCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
IdentityCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Does nothing and returns an OK command result. |
protected CommandResult |
CompositeCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Implements the execution logic by sequential execution of my children. |
protected abstract CommandResult |
AbstractCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Performs the actual work of executing this command. |
protected CommandResult |
UnexecutableCommand.doRedoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
OneTimeCommand.doRedoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Not redoable. |
protected CommandResult |
IdentityCommand.doRedoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Does nothing and returns an OK command result. |
protected CommandResult |
CompositeCommand.doRedoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
I redo by asking my children to redo, in forward order. |
protected abstract CommandResult |
AbstractCommand.doRedoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Performs the actual work of redoing this command. |
protected CommandResult |
UnexecutableCommand.doUndoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
OneTimeCommand.doUndoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Not undoable. |
protected CommandResult |
IdentityCommand.doUndoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Does nothing and returns an OK command result. |
protected CommandResult |
CompositeCommand.doUndoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
I undo by asking my children to undo, in reverse order. |
protected abstract CommandResult |
AbstractCommand.doUndoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Performs the actual work of undoing this command. |
CommandResult |
ICommand.getCommandResult()
Retrieves the result of executing, undoing, or redoing this command, depending on which of these operations was last performed. |
CommandResult |
AbstractCommand.getCommandResult()
|
static CommandResult |
CommandResult.newCancelledCommandResult()
Creates a new IStatus.CANCEL command result with no return value. |
static CommandResult |
CommandResult.newErrorCommandResult(java.lang.String errorMessage)
Creates a new IStatus.ERROR command result with no return value. |
static CommandResult |
CommandResult.newErrorCommandResult(java.lang.Throwable throwable)
Creates a new IStatus.ERROR command result with no return value. |
static CommandResult |
CommandResult.newOKCommandResult()
Creates a new IStatus.OK command result. |
static CommandResult |
CommandResult.newOKCommandResult(java.lang.Object result)
Creates a new IStatus.OK command result with the specified return
value . |
static CommandResult |
CommandResult.newWarningCommandResult(java.lang.String warningMessage,
java.lang.Object result)
Creates a new IStatus.WARNING command result with a return
value . |
Methods in org.eclipse.gmf.runtime.common.core.command with parameters of type CommandResult | |
---|---|
void |
AbstractCommand.internalSetResult(CommandResult result)
Deprecated. internal API |
protected void |
AbstractCommand.setResult(CommandResult result)
Sets the command result. |
Uses of CommandResult in org.eclipse.gmf.runtime.diagram.core.commands |
---|
Methods in org.eclipse.gmf.runtime.diagram.core.commands that return CommandResult | |
---|---|
protected CommandResult |
UpdateGroupLocationCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
|
protected CommandResult |
UngroupCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
SetPropertyCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
SetConnectionEndsCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
SetConnectionAnchorsCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
RemoveBookmarkCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
|
protected CommandResult |
GroupCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Creates the new group, reparents the nodes, and sets the locations of the group and nodes as appropriate |
protected CommandResult |
DeleteCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
CreateDiagramCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
|
protected CommandResult |
AddCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
executes the command; which will get the child and the containaer from the IAdaptable |
Uses of CommandResult in org.eclipse.gmf.runtime.diagram.ui.properties.sections |
---|
Methods in org.eclipse.gmf.runtime.diagram.ui.properties.sections that return CommandResult | |
---|---|
protected CommandResult |
AbstractModelerPropertySection.executeAsCompositeCommand(java.lang.String actionName,
java.util.List commands)
A utility method allows execute a list of commands by wrapping them\ in a composite command. |
Uses of CommandResult in org.eclipse.gmf.runtime.emf.commands.core.command |
---|
Methods in org.eclipse.gmf.runtime.emf.commands.core.command that return CommandResult | |
---|---|
protected abstract CommandResult |
AbstractTransactionalCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
Implemented by subclasses to perform the model changes. |
CommandResult |
CompositeTransactionalCommand.getCommandResult()
|
CommandResult |
AbstractTransactionalCommand.getCommandResult()
|
Methods in org.eclipse.gmf.runtime.emf.commands.core.command with parameters of type CommandResult | |
---|---|
void |
CompositeTransactionalCommand.internalSetResult(CommandResult result)
Deprecated. internal API |
void |
AbstractTransactionalCommand.internalSetResult(CommandResult result)
Deprecated. internal API |
protected void |
CompositeTransactionalCommand.setResult(CommandResult result)
Sets the command result. |
protected void |
AbstractTransactionalCommand.setResult(CommandResult result)
Sets the command result. |
Uses of CommandResult in org.eclipse.gmf.runtime.emf.commands.core.commands |
---|
Methods in org.eclipse.gmf.runtime.emf.commands.core.commands that return CommandResult | |
---|---|
protected CommandResult |
RepositionEObjectCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
DuplicateEObjectsCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
Executes this command by duplicating the orignal eobjects, adding the duplicates to the original's container, and populating the map of duplicates to be returned. |
Uses of CommandResult in org.eclipse.gmf.runtime.emf.type.core.commands |
---|
Methods in org.eclipse.gmf.runtime.emf.type.core.commands that return CommandResult | |
---|---|
protected CommandResult |
SetValueCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
|
protected CommandResult |
MoveElementsCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
|
protected CommandResult |
GetEditContextCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
|
protected CommandResult |
DestroyReferenceCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
|
protected CommandResult |
DestroyElementCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
|
protected CommandResult |
CreateElementCommand.doExecuteWithResult(IProgressMonitor monitor,
IAdaptable info)
|
Methods in org.eclipse.gmf.runtime.emf.type.core.commands with parameters of type CommandResult | |
---|---|
protected boolean |
EditElementCommand.isOK(CommandResult commandResult)
Convenience method to check the status of commandRequest . |
Uses of CommandResult in org.eclipse.gmf.runtime.emf.ui.properties.commands |
---|
Methods in org.eclipse.gmf.runtime.emf.ui.properties.commands that return CommandResult | |
---|---|
protected CommandResult |
SetModelPropertyValueCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
RestoreDefaultPropertyValueCommand.doExecuteWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
SetModelPropertyValueCommand.doRedoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
RestoreDefaultPropertyValueCommand.doRedoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
SetModelPropertyValueCommand.doUndoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
protected CommandResult |
RestoreDefaultPropertyValueCommand.doUndoWithResult(IProgressMonitor progressMonitor,
IAdaptable info)
|
|
Runtime | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.