Eclipse Platform
2.0

org.eclipse.ui
Interface IWorkbenchWindowActionDelegate

All Superinterfaces:
IActionDelegate
All Known Subinterfaces:
IWorkbenchWindowPulldownDelegate, IWorkbenchWindowPulldownDelegate2
All Known Implementing Classes:
LaunchURL

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
 void dispose()
          Disposes this action delegate.
 void init(IWorkbenchWindow window)
          Initializes this action delegate with the workbench window it will work in.
 
Methods inherited from interface org.eclipse.ui.IActionDelegate
run, selectionChanged
 

Method Detail

dispose

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


init

public 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

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.