Runtime

## Uses of Class
org.eclipse.gmf.runtime.common.core.command.CommandResult

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.commands: Aurora internal packages Package Specification Diagram ui commands
org.eclipse.gmf.runtime.diagram.ui.editpolicies: Aurora internal packages Package Specification This package contains the edit policy classes.
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
`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.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.newWarningCommandResult(java.lang.String warningMessage, java.lang.Object result)` Creates a new `IStatus.WARNING` command result with a return `value`.
`protected CommandResult` `CompositeCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Implements the execution logic by sequential execution of my children.
`protected CommandResult` `CompositeCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)` I redo by asking my children to redo, in forward order.
`protected CommandResult` `CompositeCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)` I undo by asking my children to undo, in reverse order.
`CommandResult` `AbstractCommand.getCommandResult()`
`protected abstract CommandResult` `AbstractCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Performs the actual work of executing this command.
`protected abstract CommandResult` `AbstractCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Performs the actual work of redoing this command.
`protected abstract CommandResult` `AbstractCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Performs the actual work of undoing this command.
`protected CommandResult` `OneTimeCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Not undoable.
`protected CommandResult` `OneTimeCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Not redoable.
`protected CommandResult` `UnexecutableCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `UnexecutableCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `UnexecutableCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `IdentityCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Does nothing and returns an OK command result.
`protected CommandResult` `IdentityCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Does nothing and returns an OK command result.
`protected CommandResult` `IdentityCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Does nothing and returns an OK command result.
`CommandResult` `ICommand.getCommandResult()` Retrieves the result of executing, undoing, or redoing this command, depending on which of these operations was last performed.

Methods in org.eclipse.gmf.runtime.common.core.command with parameters of type CommandResult
`protected void` `AbstractCommand.setResult(CommandResult result)` Sets the command result.
`void` `AbstractCommand.internalSetResult(CommandResult result)` Deprecated. internal API

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` `RemoveBookmarkCommand.doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)`
`protected CommandResult` `SetConnectionAnchorsCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `AddCommand.doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)` executes the command; which will get the child and the containaer from the `IAdaptable`and then insert the child at the given index in the containers child list.``
`protected CommandResult` `SetConnectionEndsCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `SetPropertyCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `DeleteCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `CreateDiagramCommand.doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)`

Uses of CommandResult in org.eclipse.gmf.runtime.diagram.ui.commands

Methods in org.eclipse.gmf.runtime.diagram.ui.commands that return CommandResult
`protected CommandResult` `SetBoundsCommand.doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)`
`protected CommandResult` `SemanticCreateCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `SemanticCreateCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `SemanticCreateCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `PromptForConnectionAndEndCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Pops up the dialog with the content provided.
`protected CommandResult` `CreateCommand.doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)`
`protected CommandResult` `DeferredCreateConnectionViewAndElementCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Finds the source and target editparts by extracting the views from the view adapaters and searching in the editpart viewer.
`protected CommandResult` `DeferredCreateConnectionViewAndElementCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `DeferredCreateConnectionViewAndElementCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `DeferredCreateConnectionViewCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Finds the source and target editparts by extracting the views from the view adapaters and searching in the editpart viewer.
`protected CommandResult` `CommandProxy.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `CommandProxy.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `CommandProxy.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `OpenDiagramCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Create a new editor to display the corresponding diagram.
`protected CommandResult` `OpenDiagramCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `OpenDiagramCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `DeferredLayoutCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Executes a layout command with all the editparts for the view adapters.
`protected CommandResult` `CreateViewAndOptionallyElementCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` If the element adapter is empty, this command creates a new element and view for it.
`protected CommandResult` `CreateViewAndOptionallyElementCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `CreateViewAndOptionallyElementCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `PopupMenuCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `PopupMenuCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `PopupMenuCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `CreateOrSelectElementCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Pops up the dialog with the content provided.

Uses of CommandResult in org.eclipse.gmf.runtime.diagram.ui.editpolicies

Methods in org.eclipse.gmf.runtime.diagram.ui.editpolicies that return CommandResult
`protected CommandResult` `GraphicalNodeEditPolicy.PromptAndCreateConnectionCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)` Pops up the dialog with the content provided, gets the command to be executed based on the user selection, and then executes the command.
`protected CommandResult` `GraphicalNodeEditPolicy.PromptAndCreateConnectionCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `GraphicalNodeEditPolicy.PromptAndCreateConnectionCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`

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
`CommandResult` `AbstractTransactionalCommand.getCommandResult()`
`protected abstract CommandResult` `AbstractTransactionalCommand.doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)` Implemented by subclasses to perform the model changes.
`CommandResult` `CompositeTransactionalCommand.getCommandResult()`

Methods in org.eclipse.gmf.runtime.emf.commands.core.command with parameters of type CommandResult
`protected void` `AbstractTransactionalCommand.setResult(CommandResult result)` Sets the command result.
`void` `AbstractTransactionalCommand.internalSetResult(CommandResult result)` Deprecated. internal API
`protected void` `CompositeTransactionalCommand.setResult(CommandResult result)` Sets the command result.
`void` `CompositeTransactionalCommand.internalSetResult(CommandResult result)` Deprecated. internal API

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` `MoveElementsCommand.doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)`
`protected CommandResult` `SetValueCommand.doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)`
`protected CommandResult` `DestroyReferenceCommand.doExecuteWithResult(IProgressMonitor monitor, IAdaptable info)`
`protected CommandResult` `GetEditContextCommand.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` `SetModelPropertyValueCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `SetModelPropertyValueCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `RestoreDefaultPropertyValueCommand.doExecuteWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `RestoreDefaultPropertyValueCommand.doRedoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`
`protected CommandResult` `RestoreDefaultPropertyValueCommand.doUndoWithResult(IProgressMonitor progressMonitor, IAdaptable info)`

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.