public interface IActionDelegate2 extends IActionDelegate
IActionDelegateadding lifecycle methods. In addition, a
runWithEventmethod that includes the triggering SWT event.
An action delegate that implements this interface will have its
runWithEvent(IAction, Event) called instead of its
Clients should implement this interface, in addition to
IActionDelegate or sub-interfaces, if interested in the
triggering event or in the lifecycle of the delegate object.
Clients can choose to subclass the provided abstract implementation
org. eclipse. ui. actions. ActionDelegate or implement the
|Modifier and Type||Method and Description|
Allows the action delegate to clean up.
Allows the action delegate to initialize itself after being created by the proxy action.
Performs this action, passing the SWT event which triggered it.
void init(IAction action)
action- the proxy action that handles the presentation portion of the action.
Note: This method is called instead of
action- the action proxy that handles the presentation portion of the action
event- the SWT event which triggered this action being run
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.