Runtime

## Uses of Interface
org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest

Packages that use IEditCommandRequest
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.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.

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

Methods in org.eclipse.gmf.runtime.diagram.core.edithelpers with parameters of type IEditCommandRequest
`ICommand` `RemoveBookmarksAdvice.getAfterEditCommand(IEditCommandRequest request)`
`ICommand` `NotationViewDependentsAdvice.getAfterEditCommand(IEditCommandRequest request)`
`ICommand` `RemoveBookmarksAdvice.getBeforeEditCommand(IEditCommandRequest request)`
`ICommand` `NotationViewDependentsAdvice.getBeforeEditCommand(IEditCommandRequest request)`

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

Methods in org.eclipse.gmf.runtime.emf.type.core with parameters of type IEditCommandRequest
`boolean` `IElementType.canEdit(IEditCommandRequest req)` Answers whether or not the requested edit can be performed.
`boolean` `ElementType.canEdit(IEditCommandRequest req)`
`ICommand` `SpecializationType.getEditCommand(IEditCommandRequest request)`
`ICommand` `MetamodelType.getEditCommand(IEditCommandRequest request)`
`ICommand` `IElementType.getEditCommand(IEditCommandRequest request)` Gets a command to edit an element of this type.
`ICommand` `ElementType.getEditCommand(IEditCommandRequest request)`

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

Methods in org.eclipse.gmf.runtime.emf.type.core.commands that return IEditCommandRequest
`protected IEditCommandRequest` `EditElementCommand.getRequest()` Gets the edit request.

Methods in org.eclipse.gmf.runtime.emf.type.core.commands with parameters of type IEditCommandRequest
`protected static java.util.List` `EditElementCommand.getAffectedFiles(IEditCommandRequest request)`

Constructors in org.eclipse.gmf.runtime.emf.type.core.commands with parameters of type IEditCommandRequest
`EditElementCommand(java.lang.String label, org.eclipse.emf.ecore.EObject elementToEdit, IEditCommandRequest request)` Constructs a new command instance.

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

Methods in org.eclipse.gmf.runtime.emf.type.core.edithelper with parameters of type IEditCommandRequest
`boolean` `IEditHelperAdvice.approveRequest(IEditCommandRequest request)` Approves the edit gesture described in the `request`.
`boolean` `AbstractEditHelperAdvice.approveRequest(IEditCommandRequest request)` Returns `true` by default.
`protected boolean` `AbstractEditHelper.approveRequest(IEditCommandRequest request)` Approves the edit gesture described in the `request`.
`boolean` `IEditHelper.canEdit(IEditCommandRequest req)` Answers whether or not the requested edit can be performed.
`boolean` `AbstractEditHelper.canEdit(IEditCommandRequest req)` Checks that I can get an executable edit command.
`void` `IEditHelperAdvice.configureRequest(IEditCommandRequest request)` Configures the `request`.
`void` `AbstractEditHelperAdvice.configureRequest(IEditCommandRequest request)` Does nothing by default.
`protected void` `AbstractEditHelper.configureRequest(IEditCommandRequest request)` Approves the edit gesture described in the `request`.
`protected ICompositeCommand` `AbstractEditHelper.createCommand(IEditCommandRequest req)` Creates a new composite command.
`ICommand` `IEditHelperAdvice.getAfterEditCommand(IEditCommandRequest request)` Gets a command to be executed after the base editing behaviour.
`ICommand` `AbstractEditHelperAdvice.getAfterEditCommand(IEditCommandRequest request)`
`ICommand` `IEditHelperAdvice.getBeforeEditCommand(IEditCommandRequest request)` Gets a command to be executed before the base editing behaviour.
`ICommand` `AbstractEditHelperAdvice.getBeforeEditCommand(IEditCommandRequest request)`
`ICommand` `IEditHelper.getEditCommand(IEditCommandRequest req)` Gets an edit command to perform the work requested in `req`.

`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.

`protected IEditHelperAdvice[]` `AbstractEditHelper.getEditHelperAdvice(IEditCommandRequest req)` Gets the array of edit helper advice for this request.
`protected ICommand` `AbstractEditHelper.getInsteadCommand(IEditCommandRequest req)` Gets my command to do the work described in `req`.

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

Classes in org.eclipse.gmf.runtime.emf.type.core.requests that implement IEditCommandRequest
`class` `AbstractEditCommandRequest` Abstract superclass for edit command requests.
`class` `ConfigureRequest` Request to configure a new element with the attributes that it should have according to its element type.
`class` `CreateElementRequest` Request to create a new model element.
`class` `CreateRelationshipRequest` Request to create a new relationship element.
`class` `DestroyDependentsRequest` Request to destroy the dependents of a model element.
`class` `DestroyElementRequest` Request to destroy a model element.
`class` `DestroyReferenceRequest` Request to destroy a reference from one model element to another.
`class` `DestroyRequest` Abstract superclass for reuqests to destroy a model element.
`class` `DuplicateElementsRequest` Request to duplicate a model element.
`class` `GetEditContextRequest` Request to get the context for editing a model element.
`class` `MoveRequest` Request to move a collections of model elements from one location to another.
`class` `ReorientReferenceRelationshipRequest` Request to change the source or target of a reference.
`class` `ReorientRelationshipRequest` Request to change the source or target of a relationship element.
`class` `ReorientRequest` Abstract request for changing the source or target of a relationship.
`class` `SetRequest` Request to set the value of a structural feature in a model element.

Methods in org.eclipse.gmf.runtime.emf.type.core.requests that return IEditCommandRequest
`IEditCommandRequest` `GetEditContextRequest.getEditCommandRequest()` Gets the edit command request for which the edit context is being sought.

Constructors in org.eclipse.gmf.runtime.emf.type.core.requests with parameters of type IEditCommandRequest
`GetEditContextRequest(IEditCommandRequest editRequest, java.lang.Object editHelperContext)` Constructs a new request.
`GetEditContextRequest(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, IEditCommandRequest editRequest, java.lang.Object editHelperContext)` Constructs a new request.

Runtime

Guidelines for using Eclipse APIs.

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