Class DirectEditAction

All Implemented Interfaces:
Disposable, UpdateAction, IAction

public class DirectEditAction extends SelectionAction
An action to perform direct editing on a selected part. The DirectEditAction provides the function of sending a Request of the type RequestConstants.REQ_DIRECT_EDIT to a single EditPart. The request will be sent to the editpart using EditPart.performRequest(Request).

This action will be enabled whenever the current selection is one EditPart, and that editpart returns true for EditPart.understandsRequest(Request), using the getDirectEditRequest().

Clients can control the request that is sent by calling setDirectEditRequest(Request). The DirectEditRequest class allows the client to specify the feature that should be edited when invoked.