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.diagram.ui.editpolicies: Aurora internal packages Package Specification This package contains the edit policy classes.
org.eclipse.gmf.runtime.diagram.ui.requests: Aurora internal packages Package Specification thispackage contains the supported request classes
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` `NotationViewDependentsAdvice.getBeforeEditCommand(IEditCommandRequest request)`
`ICommand` `NotationViewDependentsAdvice.getAfterEditCommand(IEditCommandRequest request)`
`ICommand` `RemoveBookmarksAdvice.getBeforeEditCommand(IEditCommandRequest request)`
`ICommand` `RemoveBookmarksAdvice.getAfterEditCommand(IEditCommandRequest request)`

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

Methods in org.eclipse.gmf.runtime.diagram.ui.editpolicies that return IEditCommandRequest
`protected IEditCommandRequest` `SemanticEditPolicy.completeRequest(IEditCommandRequest request)` Returns a new completed version of the `request`, mainly based on targetting the host of this edit policy.

Methods in org.eclipse.gmf.runtime.diagram.ui.editpolicies with parameters of type IEditCommandRequest
`protected Command` `SemanticEditPolicy.getSemanticCommand(IEditCommandRequest request)` Method getSemanticCommand.
`protected IEditCommandRequest` `SemanticEditPolicy.completeRequest(IEditCommandRequest request)` Returns a new completed version of the `request`, mainly based on targetting the host of this edit policy.

Uses of IEditCommandRequest in org.eclipse.gmf.runtime.diagram.ui.requests

Methods in org.eclipse.gmf.runtime.diagram.ui.requests that return IEditCommandRequest
`IEditCommandRequest` `EditCommandRequestWrapper.getEditCommandRequest()` Gets the edit command request.

Constructors in org.eclipse.gmf.runtime.diagram.ui.requests with parameters of type IEditCommandRequest
`EditCommandRequestWrapper(IEditCommandRequest editCommandRequest)` Constructs a new request wrapper.
`EditCommandRequestWrapper(IEditCommandRequest editCommandRequest, java.util.Map requestParameters)` Constructs a new request wrapper.
`EditCommandRequestWrapper(java.lang.Object requestType, IEditCommandRequest editCommandRequest)` Constructs a new request wrapper.
`EditCommandRequestWrapper(java.lang.Object requestType, IEditCommandRequest editCommandRequest, java.util.Map requestParameters)` Constructs a new request wrapper.

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
`ICommand` `MetamodelType.getEditCommand(IEditCommandRequest request)`
`ICommand` `SpecializationType.getEditCommand(IEditCommandRequest request)`
`ICommand` `ElementType.getEditCommand(IEditCommandRequest request)`
`boolean` `ElementType.canEdit(IEditCommandRequest req)`
`ICommand` `IElementType.getEditCommand(IEditCommandRequest request)` Gets a command to edit an element of this type.
`boolean` `IElementType.canEdit(IEditCommandRequest req)` Answers whether or not the requested edit can be performed.

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, 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
`ICommand` `AbstractEditHelperAdvice.getBeforeEditCommand(IEditCommandRequest request)`
`ICommand` `AbstractEditHelperAdvice.getAfterEditCommand(IEditCommandRequest request)`
`void` `AbstractEditHelperAdvice.configureRequest(IEditCommandRequest request)` Does nothing by default.
`boolean` `AbstractEditHelperAdvice.approveRequest(IEditCommandRequest request)` Returns `true` by default.
`boolean` `IEditHelper.canEdit(IEditCommandRequest req)` Answers whether or not the requested edit can be performed.
`ICommand` `IEditHelper.getEditCommand(IEditCommandRequest req)` Gets an edit command to perform the work requested in `req`.
`boolean` `AbstractEditHelper.canEdit(IEditCommandRequest req)` Checks that I can get an executable edit command.

`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 void` `AbstractEditHelper.configureRequest(IEditCommandRequest request)` Approves the edit gesture described in the `request`.
`protected boolean` `AbstractEditHelper.approveRequest(IEditCommandRequest request)` Approves the edit gesture described in the `request`.
`protected IEditHelperAdvice[]` `AbstractEditHelper.getEditHelperAdvice(IEditCommandRequest req)` Gets the array of edit helper advice for this request.
`protected ICompositeCommand` `AbstractEditHelper.createCommand(IEditCommandRequest req)` Creates a new composite command.
`protected ICommand` `AbstractEditHelper.getInsteadCommand(IEditCommandRequest req)` Gets my command to do the work described in `req`.
`ICommand` `IEditHelperAdvice.getBeforeEditCommand(IEditCommandRequest request)` Gets a command to be executed before the base editing behaviour.
`ICommand` `IEditHelperAdvice.getAfterEditCommand(IEditCommandRequest request)` Gets a command to be executed after the base editing behaviour.
`void` `IEditHelperAdvice.configureRequest(IEditCommandRequest request)` Configures the `request`.
`boolean` `IEditHelperAdvice.approveRequest(IEditCommandRequest request)` Approves the edit gesture described in the `request`.

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(org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain, IEditCommandRequest editRequest, java.lang.Object editHelperContext)` Constructs a new request.
`GetEditContextRequest(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.