Interface IWorkbenchWindowActionDelegate

All Superinterfaces:
IActionDelegate
All Known Subinterfaces:
IWorkbenchWindowPulldownDelegate, IWorkbenchWindowPulldownDelegate2
All Known Implementing Classes:
AbstractLaunchHistoryAction, AbstractLaunchToolbarAction, ApplyRefactoringScriptAction, CreateRefactoringScriptAction, FileBufferOperationAction, GotoLastEditPositionAction, GotoNextEditPositionAction, LaunchAsAction, LaunchShortcutsAction, LaunchURL, OpenLaunchDialogAction, RedoRefactoringAction, RelaunchLastAction, ShowRefactoringHistoryAction, org.eclipse.ltk.internal.ui.refactoring.UndoManagerAction, UndoRefactoringAction

public interface IWorkbenchWindowActionDelegate extends IActionDelegate
Interface for an action that is contributed into the workbench window menu or tool bar. It extends IActionDelegate and adds an initialization method for connecting the delegate to the workbench window it should work with.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Disposes this action delegate.
    void
    Initializes this action delegate with the workbench window it will work in.

    Methods inherited from interface org.eclipse.ui.IActionDelegate

    run, selectionChanged
  • Method Details

    • dispose

      void dispose()
      Disposes this action delegate. The implementor should unhook any references to itself so that garbage collection can occur.
    • init

      void init(IWorkbenchWindow window)
      Initializes this action delegate with the workbench window it will work in.
      Parameters:
      window - the window that provides the context for this delegate