This class extends regular plugin action with the additional requirement that
the delegate has to implement interface
org.eclipse.ui.IWorkbenchWindowActionDelegate . This interface has
one additional method (init) whose purpose is to initialize the delegate with
the window in which the action is intended to run.
setHelpListener(HelpListener listener) The WWinPluginAction implementation of this method
declared on IAction stores the help listener in
a local field.
public WWinPluginAction(IConfigurationElement actionElement, IWorkbenchWindow window, String id, int style)(Code)
Constructs a new WWinPluginAction object.
Parameters: actionElement - the configuration element Parameters: window - the window to contribute to Parameters: id - the identifier Parameters: style - the style
Returns true if the window has been set.
The window may be null after the constructor is called and
before the window is stored. We cannot create the delegate
at that time.
public void setHelpListener(HelpListener listener)(Code)
The WWinPluginAction implementation of this method
declared on IAction stores the help listener in
a local field. The supplied listener is only used if there is
no retarget action.