Runtime

## Uses of Interface
org.eclipse.gmf.runtime.common.core.command.ICommand

Packages that use ICommand
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.common.ui.action.actions.global: Provides a set of common global actions and global action handlers for use with the Global Action Handler Service.
org.eclipse.gmf.runtime.common.ui.action.global.providers
org.eclipse.gmf.runtime.common.ui.action.ide.actions.global: Provides a set of IDE global actions and global action handlers for use with the Global Action Handler Service.
org.eclipse.gmf.runtime.common.ui.services.action.global: Provides a set of classes that implement a `Service` that provides an extensible way to handle commonly used (global) actions in different views and editors.
org.eclipse.gmf.runtime.common.ui.services.dnd.drop: Provides core support for the drop component of drag and drop.
org.eclipse.gmf.runtime.common.ui.services.dnd.ide.drop: Provides support for dropping with IDE dependencies.
org.eclipse.gmf.runtime.common.ui.services.parser: Provides the framework for the parser service.
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.core.edithelpers: Aurora internal packages Package Specification this package contains classes used to help in create the element requests
org.eclipse.gmf.runtime.diagram.ui.printing.providers
org.eclipse.gmf.runtime.diagram.ui.properties.sections: Aurora internal packages.
org.eclipse.gmf.runtime.diagram.ui.providers: Aurora internal packages Package Specification This package contains the necessary plugin classes: DebugOptions Plugin StatusCodes
org.eclipse.gmf.runtime.diagram.ui.providers.ide.providers: This package contains a contribution item provider and a global action handler and provider for diagram IDE Global Actions.
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: This package contains the classes that define primary classes in the Element Type framework.
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.type.core.edithelper: Provides the edit helper and edit helper advice for the Element Type framework.
org.eclipse.gmf.runtime.emf.type.core.requests: Provides a set of requests that are used to ask for commands to edit model elements.
org.eclipse.gmf.runtime.emf.ui.properties.commands: Reusable commands for use in implementing property editors.
org.eclipse.gmf.runtime.emf.ui.properties.sections: Classes for use in defining property editors to compose sections of the properties view.

Uses of ICommand in org.eclipse.gmf.runtime.common.core.command

Subinterfaces of ICommand in org.eclipse.gmf.runtime.common.core.command
`interface` `ICompositeCommand` A self-composing undoable operation that is has a `CommandResult`, a list of affected `IFile`s, and is composed of child operations.

Classes in org.eclipse.gmf.runtime.common.core.command that implement ICommand
`class` `AbstractCommand` An abstract superclass for GMF `IUndoableOperation`s that do not modify EMF model resources.
`class` `CompositeCommand` An undoable command that is composed of child `IUndoableOperation`s that are not known to modify EMF model resources, but can contain model-affecting children.
`class` `IdentityCommand` A command that is always executable, undoable and redoable, but does nothing.
`class` `OneTimeCommand` A command does its work once, and can never be undone or redone.
`class` `UnexecutableCommand` A command that cannot be executed.

Methods in org.eclipse.gmf.runtime.common.core.command that return ICommand
`static ICommand` `CompositeCommand.compose(ICommand command, ICommand next)` Appends a command onto a (possibly) existing composeite of commands.
`ICommand` `AbstractCommand.compose(IUndoableOperation operation)`
`ICommand` `CompositeCommand.compose(IUndoableOperation operation)` Adds `command` to the list of commands with which this composite is composed.
`ICommand` `ICommand.compose(IUndoableOperation operation)` Returns a new command object that represents a composition of this command with the specified `command` parameter.
`ICommand` `AbstractCommand.reduce()`
`ICommand` `CompositeCommand.reduce()` Returns the simplest form of this command that is equivalent.
`ICommand` `ICommand.reduce()` Returns the simplest form of this command that is equivalent.

Methods in org.eclipse.gmf.runtime.common.core.command with parameters of type ICommand
`static ICommand` `CompositeCommand.compose(ICommand command, ICommand next)` Appends a command onto a (possibly) existing composeite of commands.

Uses of ICommand in org.eclipse.gmf.runtime.common.ui.action.actions.global

Methods in org.eclipse.gmf.runtime.common.ui.action.actions.global that return ICommand
`ICommand` `ResourcePropertiesGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`

Uses of ICommand in org.eclipse.gmf.runtime.common.ui.action.global.providers

Methods in org.eclipse.gmf.runtime.common.ui.action.global.providers that return ICommand
`ICommand` `RevertGlobalActionHandler.getCommand(IGlobalActionContext context)`

Uses of ICommand in org.eclipse.gmf.runtime.common.ui.action.ide.actions.global

Methods in org.eclipse.gmf.runtime.common.ui.action.ide.actions.global that return ICommand
`ICommand` `CloseResourceGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`
`ICommand` `CopyResourceGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`
`ICommand` `DeleteResourceGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`
`ICommand` `MoveResourceGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`
`ICommand` `OpenFileGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`
`ICommand` `OpenResouceGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`
`ICommand` `PasteResourceGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`
`ICommand` `RefreshResourceGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`
`ICommand` `RenameResourceGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`

Uses of ICommand in org.eclipse.gmf.runtime.common.ui.services.action.global

Methods in org.eclipse.gmf.runtime.common.ui.services.action.global that return ICommand
`ICommand` `IGlobalActionHandler.getCommand(IGlobalActionContext context)` Return the ICommand for the context

Uses of ICommand in org.eclipse.gmf.runtime.common.ui.services.dnd.drop

Methods in org.eclipse.gmf.runtime.common.ui.services.dnd.drop that return ICommand
`ICommand` `AbstractDropTargetListener.getExecutableContext(DropTargetEvent event)`
`ICommand` `IDropTargetListener.getExecutableContext(DropTargetEvent event)` Returns a command for dropping the event data on the drop target.

Uses of ICommand in org.eclipse.gmf.runtime.common.ui.services.dnd.ide.drop

Methods in org.eclipse.gmf.runtime.common.ui.services.dnd.ide.drop that return ICommand
`ICommand` `ResourceDropTargetListener.getExecutableContext(DropTargetEvent event)`

Uses of ICommand in org.eclipse.gmf.runtime.common.ui.services.parser

Methods in org.eclipse.gmf.runtime.common.ui.services.parser that return ICommand
`ICommand` `IParser.getParseCommand(IAdaptable element, java.lang.String newString, int flags)` Gets the command that applies the new edit string

Uses of ICommand in org.eclipse.gmf.runtime.diagram.core.commands

Classes in org.eclipse.gmf.runtime.diagram.core.commands that implement ICommand
`class` `AddCommand` A command to add a view to a another view at a given index
`class` `CreateDiagramCommand` Creates a diagram
`class` `DeleteCommand` Deletes a view.
`class` `RemoveBookmarkCommand` Removes all bookmark(s) of a supplied object.
`class` `SetConnectionAnchorsCommand` Sets a connections end points.
`class` `SetConnectionEndsCommand` Command that sets a connections end points.
`class` `SetPropertyCommand` A command to a set a property of a view

Uses of ICommand in org.eclipse.gmf.runtime.diagram.core.edithelpers

Methods in org.eclipse.gmf.runtime.diagram.core.edithelpers that return ICommand
`protected ICommand` `RemoveBookmarksAdvice.getAfterDestroyElementCommand(DestroyElementRequest request)`
`ICommand` `NotationViewDependentsAdvice.getAfterEditCommand(IEditCommandRequest request)`
`ICommand` `RemoveBookmarksAdvice.getAfterEditCommand(IEditCommandRequest request)`
`protected ICommand` `NotationViewDependentsAdvice.getBeforeDestroyDependentsCommand(DestroyDependentsRequest request)`
`ICommand` `NotationViewDependentsAdvice.getBeforeEditCommand(IEditCommandRequest request)`
`ICommand` `RemoveBookmarksAdvice.getBeforeEditCommand(IEditCommandRequest request)`

Uses of ICommand in org.eclipse.gmf.runtime.diagram.ui.printing.providers

Methods in org.eclipse.gmf.runtime.diagram.ui.printing.providers that return ICommand
`ICommand` `DiagramWithPrintGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`

Uses of ICommand in org.eclipse.gmf.runtime.diagram.ui.properties.sections

Methods in org.eclipse.gmf.runtime.diagram.ui.properties.sections that return ICommand
`protected ICommand` `AbstractModelerPropertySection.createCommand(java.lang.String name, org.eclipse.emf.ecore.EObject res, java.lang.Runnable runnable)`
`protected ICommand` `AbstractModelerPropertySection.createCommand(java.lang.String name, org.eclipse.emf.ecore.resource.Resource res, java.lang.Runnable runnable)`

Uses of ICommand in org.eclipse.gmf.runtime.diagram.ui.providers

Methods in org.eclipse.gmf.runtime.diagram.ui.providers that return ICommand
`ICommand` `DiagramGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`
`protected ICommand` `DiagramGlobalActionHandler.getCopyCommand(IGlobalActionContext cntxt, org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart, boolean isUndoable)` Returns a command to copy the context's selection to the clipboard.
`protected ICommand` `DiagramGlobalActionHandler.getCutCommand(IGlobalActionContext cntxt, org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart)` Returns a command to copy the context's selection to the clipboard and to delete it.

Uses of ICommand in org.eclipse.gmf.runtime.diagram.ui.providers.ide.providers

Methods in org.eclipse.gmf.runtime.diagram.ui.providers.ide.providers that return ICommand
`ICommand` `DiagramIDEGlobalActionHandler.getCommand(IGlobalActionContext cntxt)`

Uses of ICommand in org.eclipse.gmf.runtime.emf.commands.core.command

Classes in org.eclipse.gmf.runtime.emf.commands.core.command that implement ICommand
`class` `AbstractTransactionalCommand` An abstract superclass for GMF `IUndoableOperation`s that modify EMF model resources.
`class` `CompositeTransactionalCommand` An undoable operation that is composed of child `IUndoableOperation`s that are expected to modify EMF model resources.

Methods in org.eclipse.gmf.runtime.emf.commands.core.command that return ICommand
`ICommand` `AbstractTransactionalCommand.compose(IUndoableOperation operation)`
`ICommand` `CompositeTransactionalCommand.compose(IUndoableOperation operation)`
`ICommand` `AbstractTransactionalCommand.reduce()`
`ICommand` `CompositeTransactionalCommand.reduce()` Returns the simplest form of this command that is equivalent.

Uses of ICommand in org.eclipse.gmf.runtime.emf.commands.core.commands

Classes in org.eclipse.gmf.runtime.emf.commands.core.commands that implement ICommand
`class` `DuplicateEObjectsCommand` This command duplicates a list of `EObjects` and adds each duplicate to it's originator's container.
`class` `RepositionEObjectCommand` This command is there to reposition elements in a list.

Uses of ICommand in org.eclipse.gmf.runtime.emf.type.core

Methods in org.eclipse.gmf.runtime.emf.type.core that return ICommand
`ICommand` `ElementType.getEditCommand(IEditCommandRequest request)`
`ICommand` `IElementType.getEditCommand(IEditCommandRequest request)` Gets a command to edit an element of this type.
`ICommand` `MetamodelType.getEditCommand(IEditCommandRequest request)`
`ICommand` `SpecializationType.getEditCommand(IEditCommandRequest request)`

Uses of ICommand in org.eclipse.gmf.runtime.emf.type.core.commands

Classes in org.eclipse.gmf.runtime.emf.type.core.commands that implement ICommand
`class` `ConfigureElementCommand` Edit command to configure a new model element with the characteristics of its element type.
`class` `ConfigureRelationshipCommand` Edit command to configure a new relationship element with the characteristics of its element type.
`class` `CreateElementCommand` Command to create a new model element.
`class` `CreateRelationshipCommand` Command to create a new relationship element using the EMF action protocol.
`class` `DeferredSetValueCommand` Command to set the value of a feature of a model element.
`class` `DestroyElementCommand` Command to create a model element using the EMF action protocol.
`class` `DestroyReferenceCommand` Command to destroy a reference from one element to another.
`class` `EditElementCommand` Abstract superclass for commands that modify model elements.
`class` `GetEditContextCommand` Command to get the edit context for a given request.
`class` `MoveElementsCommand` Command to move model elements using the EMF action protocol.
`class` `SetValueCommand` Command to set the value of a feature of a model element.

Uses of ICommand in org.eclipse.gmf.runtime.emf.type.core.edithelper

Methods in org.eclipse.gmf.runtime.emf.type.core.edithelper that return ICommand
`protected ICommand` `AbstractEditHelperAdvice.getAfterConfigureCommand(ConfigureRequest request)` Gets my 'after' advice for configuring a new element.
`protected ICommand` `AbstractEditHelperAdvice.getAfterCreateCommand(CreateElementRequest request)` Gets my 'after' advice for creating the new element.
`protected ICommand` `AbstractEditHelperAdvice.getAfterCreateRelationshipCommand(CreateRelationshipRequest request)` Gets my 'after' advice for creating the new relationship.
`protected ICommand` `AbstractEditHelperAdvice.getAfterDestroyDependentsCommand(DestroyDependentsRequest request)` Gets my 'after' advice for destroying the dependents of an element that is being destroyed.
`protected ICommand` `AbstractEditHelperAdvice.getAfterDestroyElementCommand(DestroyElementRequest request)` Gets my 'after' advice for destroying an element.
`protected ICommand` `AbstractEditHelperAdvice.getAfterDestroyReferenceCommand(DestroyReferenceRequest request)` Gets my 'after' advice for destroying an reference.
`protected ICommand` `AbstractEditHelperAdvice.getAfterDuplicateCommand(DuplicateElementsRequest request)` Gets my 'after' advice for duplicating an element.
`ICommand` `AbstractEditHelperAdvice.getAfterEditCommand(IEditCommandRequest request)`
`ICommand` `IEditHelperAdvice.getAfterEditCommand(IEditCommandRequest request)` Gets a command to be executed after the base editing behaviour.
`protected ICommand` `AbstractEditHelperAdvice.getAfterEditContextCommand(GetEditContextRequest request)` Gets my 'after' advice for getting the edit context for an edit request.
`protected ICommand` `AbstractEditHelperAdvice.getAfterMoveCommand(MoveRequest request)` Gets my 'after' advice for moving an element into a new container.
`protected ICommand` `AbstractEditHelperAdvice.getAfterReorientReferenceRelationshipCommand(ReorientReferenceRelationshipRequest request)` Gets my 'after' advice for changing the source or target of a reference relationship.
`protected ICommand` `AbstractEditHelperAdvice.getAfterReorientRelationshipCommand(ReorientRelationshipRequest request)` Gets my 'after' advice for changing the source or target of a relationship.
`protected ICommand` `AbstractEditHelperAdvice.getAfterSetCommand(SetRequest request)` Gets my 'after' advice for setting the value of a feature in an element.
`protected ICommand` `AbstractEditHelper.getBasicDestroyElementCommand(DestroyElementRequest req)` Gets the command to destroy a single child of an element of my kind, and only it.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeConfigureCommand(ConfigureRequest request)` Gets my 'before' advice for configuring a new element.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeCreateCommand(CreateElementRequest request)` Gets my 'before' advice for creating the new element.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeCreateRelationshipCommand(CreateRelationshipRequest request)` Gets my 'before' advice for creating the new relationship.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeDestroyDependentsCommand(DestroyDependentsRequest request)` Gets my 'before' advice for destroying the dependents of an element that is being destroyed.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeDestroyElementCommand(DestroyElementRequest request)` Gets my 'before' advice for destroying an element.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeDestroyReferenceCommand(DestroyReferenceRequest request)` Gets my 'before' advice for destroying a reference.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeDuplicateCommand(DuplicateElementsRequest request)` Gets my 'before' advice for duplicating an element.
`ICommand` `AbstractEditHelperAdvice.getBeforeEditCommand(IEditCommandRequest request)`
`ICommand` `IEditHelperAdvice.getBeforeEditCommand(IEditCommandRequest request)` Gets a command to be executed before the base editing behaviour.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeEditContextCommand(GetEditContextRequest request)` Gets my 'before' advice for getting the edit context for an edit request.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeMoveCommand(MoveRequest request)` Gets my 'before' advice for moving an element into a new container.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeReorientReferenceRelationshipCommand(ReorientReferenceRelationshipRequest request)` Gets my 'before' advice for changing the source or target of a reference relationship.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeReorientRelationshipCommand(ReorientRelationshipRequest request)` Gets my 'before' advice for changing the source or target of a relationship.
`protected ICommand` `AbstractEditHelperAdvice.getBeforeSetCommand(SetRequest request)` Gets my 'before' advice for setting the value of a feature in an element.
`protected ICommand` `AbstractEditHelper.getConfigureCommand(ConfigureRequest req)` Gets the command to configure a new element of my kind.
`protected ICommand` `AbstractEditHelper.getCreateCommand(CreateElementRequest req)` Gets the command to create a new element in an element of my kind.
`protected ICommand` `AbstractEditHelper.getCreateRelationshipCommand(CreateRelationshipRequest req)` Gets the command to create a new relationship in an element of my kind.
`protected ICommand` `AbstractEditHelper.getDestroyDependentsCommand(DestroyDependentsRequest req)` Gets the command to destroy dependents of an element of my kind.
`protected ICommand` `AbstractEditHelper.getDestroyElementCommand(DestroyElementRequest req)` Gets the command to destroy a child of an element of my kind.
`protected ICommand` `AbstractEditHelper.getDestroyElementWithDependentsCommand(DestroyElementRequest req)` Gets the command to destroy a single child of an element of my kind along with its dependents (not related by containment).
`protected ICommand` `AbstractEditHelper.getDestroyReferenceCommand(DestroyReferenceRequest req)` Gets the command to remove a reference from an element of my kind.
`protected ICommand` `AbstractEditHelper.getDuplicateCommand(DuplicateElementsRequest req)` Gets the command to duplicate a child in an element of my kind.

`ICommand`

`AbstractEditHelper.getEditCommand(IEditCommandRequest req)`
Builds and returns the edit command, which is a composite command containing the following: 'before' commands from matching element type specializations 'instead' command from this edit helper 'after' commands from matching element type specializations Verifies that the edit request is approved before constructing the edit command.

`ICommand` `IEditHelper.getEditCommand(IEditCommandRequest req)` Gets an edit command to perform the work requested in `req`.
`protected ICommand` `AbstractEditHelper.getEditContextCommand(GetEditContextRequest req)` Gets the command to create or return the edit context element for the creation of a new element of my kind (e.g., when creating a relationship, the relationship may be owned by the source or target, or some ancestor of one or the other, or both).
`protected ICommand` `AbstractEditHelper.getInsteadCommand(IEditCommandRequest req)` Gets my command to do the work described in `req`.
`protected ICommand` `AbstractEditHelper.getMoveCommand(MoveRequest req)` Gets the command to move an element into an element of my kind.
`protected ICommand` `AbstractEditHelper.getReorientReferenceRelationshipCommand(ReorientReferenceRelationshipRequest req)` Gets the command to change the source or target of a reference in an element of my kind.
`protected ICommand` `AbstractEditHelper.getReorientRelationshipCommand(ReorientRelationshipRequest req)` Gets the command to change the source or target of a relationship in an element of my kind.
`protected ICommand` `AbstractEditHelper.getSetCommand(SetRequest req)` Gets the command to set a value of an element of my kind.

Uses of ICommand in org.eclipse.gmf.runtime.emf.type.core.requests

Methods in org.eclipse.gmf.runtime.emf.type.core.requests that return ICommand
`ICommand` `DestroyDependentsRequest.getDestroyDependentCommand(org.eclipse.emf.ecore.EObject dependent)` Obtains a command that destroys the specified `dependent` of the element to be destroyed, if it is not already being destroyed by the processing of the current `DestroyElementRequest`.
`ICommand` `DestroyDependentsRequest.getDestroyDependentsCommand(java.util.Collection dependents)` Obtains a command that destroys the specified `dependents` of the element to be destroyed, if they are not already being destroyed by the processing of the current `DestroyElementRequest`.

Uses of ICommand in org.eclipse.gmf.runtime.emf.ui.properties.commands

Classes in org.eclipse.gmf.runtime.emf.ui.properties.commands that implement ICommand
`class` `RestoreDefaultPropertyValueCommand` Command to restore a property value to its default value using the `IPropertySource.resetPropertyValue(java.lang.Object)` method.
`class` `SetModelPropertyValueCommand` Command to set a property value in the model in an undo interval.

Uses of ICommand in org.eclipse.gmf.runtime.emf.ui.properties.sections

Methods in org.eclipse.gmf.runtime.emf.ui.properties.sections that return ICommand
`protected ICommand` `UndoableModelPropertySheetEntry.getPropertyCommand(java.lang.String propertyName, java.lang.Object object, java.lang.Object propertyId, java.lang.Object value)`

Methods in org.eclipse.gmf.runtime.emf.ui.properties.sections with parameters of type ICommand
`protected void` `UndoableModelPropertySheetEntry.valueChanged(UndoableModelPropertySheetEntry child, ICommand command)` The value of the given child entry has changed.

Runtime

Guidelines for using Eclipse APIs.

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