Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.ui
Interface IWorkbenchWindowPulldownDelegate

All Superinterfaces:
IActionDelegate, IWorkbenchWindowActionDelegate

All Known Subinterfaces:
IWorkbenchWindowPulldownDelegate2

All Known Implementing Classes:
AbstractLaunchHistoryAction, LaunchAsAction


public interface IWorkbenchWindowPulldownDelegate
extends IWorkbenchWindowActionDelegate

Interface for a pulldown action that is contributed into the workbench window tool bar. It extends IWorkbenchWindowActionDelegate and adds an initialization method to define the menu creator for the action.


Method Summary
 Menu getMenu(Control parent)
          Returns the menu for this pull down action.
 
Methods inherited from interface org.eclipse.ui.IWorkbenchWindowActionDelegate
dispose, init
 
Methods inherited from interface org.eclipse.ui.IActionDelegate
run, selectionChanged
 

Method Detail

 

 

getMenu

public Menu getMenu(Control parent)

Returns the menu for this pull down action. This method will only be called if the user opens the pull down menu for the action. Note that it is the responsibility of the implementor to properly dispose of any SWT menus created by this method.

Returns:
the menu


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.