Eclipse Platform Release 3.7

## Uses of Class
org.eclipse.swt.widgets.Menu

Packages that use Menu
org.eclipse.debug.ui.actions: Provides a set of actions related to running and debugging applications.
org.eclipse.jface.action: Provides support for shared UI resources such as menus, tool bars, and status lines.
org.eclipse.jface.menus: Provides support for trim specification.
org.eclipse.jface.text.source: Provides a framework for connecting document regions with annotations and for displaying those.
org.eclipse.swt.custom: SWT Custom widgets.
org.eclipse.swt.widgets: SWT widget public API classes.
org.eclipse.ui: Application programming interfaces for interaction with and extension of the Eclipse Platform User Interface.
org.eclipse.ui.actions: Classes for actions and operations used in a workbench window, page, or part in the Eclipse Platform User Interface.
org.eclipse.ui.application: Application-level APIs for configuring and controling the Eclipse Platform User Interface.
org.eclipse.ui.forms.widgets: Custom widgets and controls for forms-based parts.
org.eclipse.ui.help: Classes for integration with the help support system in the Eclipse Platform User Interface.
org.eclipse.ui.menus: Provides the public API and default implementation for contributing menu and toolbars to the menu service.
org.eclipse.ui.texteditor: Provides a framework for text editors obeying to the desktop rules.

Uses of Menu in org.eclipse.debug.ui.actions

Methods in org.eclipse.debug.ui.actions that return Menu
`Menu` `AbstractLaunchHistoryAction.getMenu(Control parent)`
`Menu` `ContextualLaunchAction.getMenu(Control parent)`
`Menu` `LaunchShortcutsAction.getMenu(Control parent)`
`Menu` `LaunchAsAction.getMenu(Control parent)` Deprecated.
`Menu` `RulerBreakpointTypesActionDelegate.getMenu(Control parent)`
`Menu` `AbstractLaunchHistoryAction.getMenu(Menu parent)`
`Menu` `ContextualLaunchAction.getMenu(Menu parent)`
`Menu` `LaunchShortcutsAction.getMenu(Menu parent)`
`Menu` `LaunchAsAction.getMenu(Menu parent)` Deprecated.
`Menu` `RulerBreakpointTypesActionDelegate.getMenu(Menu parent)`

Methods in org.eclipse.debug.ui.actions with parameters of type Menu
`protected void` `AbstractLaunchHistoryAction.addSeparator(Menu menu)` Adds a separator to the given menu
`protected void` `AbstractLaunchHistoryAction.addToMenu(Menu menu, IAction action, int accelerator)` Adds the given action to the specified menu with an accelerator specified by the given number.
`protected void` `AbstractLaunchHistoryAction.fillMenu(Menu menu)` Fills the drop-down menu with favorites and launch history
`protected void` `ContextualLaunchAction.fillMenu(Menu menu)` Fills the menu with applicable launch shortcuts
`protected void` `AbstractLaunchToolbarAction.fillMenu(Menu menu)` Fills the drop-down menu with favorites and launch history, launch shortcuts, and an action to open the launch configuration dialog.
`Menu` `AbstractLaunchHistoryAction.getMenu(Menu parent)`
`Menu` `ContextualLaunchAction.getMenu(Menu parent)`
`Menu` `LaunchShortcutsAction.getMenu(Menu parent)`
`Menu` `LaunchAsAction.getMenu(Menu parent)` Deprecated.
`Menu` `RulerBreakpointTypesActionDelegate.getMenu(Menu parent)`

Uses of Menu in org.eclipse.jface.action

Methods in org.eclipse.jface.action that return Menu
`Menu` `MenuManager.createContextMenu(Control parent)` Creates and returns an SWT context menu control for this menu, and installs all registered contributions.
`Menu` `MenuManager.createMenuBar(Decorations parent)` Creates and returns an SWT menu bar control for this menu, for use in the given `Decorations`, and installs all registered contributions.
`Menu` `MenuManager.createMenuBar(Shell parent)` Deprecated. use `createMenuBar(Decorations)` instead.
`Menu` `MenuManager.getMenu()` Returns the SWT menu control for this menu manager.
`Menu` `IMenuCreator.getMenu(Control parent)` Returns the SWT menu, created as a pop up menu parented by the given control.
`Menu` `IMenuCreator.getMenu(Menu parent)` Returns an SWT menu created as a drop down menu parented by the given menu.

Methods in org.eclipse.jface.action with parameters of type Menu
`void` `MenuManager.fill(Menu parent, int index)`
`void` `SubContributionItem.fill(Menu parent, int index)`
`void` `Separator.fill(Menu menu, int index)`
`void` `ActionContributionItem.fill(Menu parent, int index)` The `ActionContributionItem` implementation of this `IContributionItem` method creates an SWT `MenuItem` for the action using the action's style.
`void` `ControlContribution.fill(Menu parent, int index)` The control item implementation of this `IContributionItem` method throws an exception since controls cannot be added to menus.
`void` `ContributionItem.fill(Menu menu, int index)` The default implementation of this `IContributionItem` method does nothing.
`void` `SubMenuManager.fill(Menu parent, int index)`
`void` `IContributionItem.fill(Menu parent, int index)` Fills the given menu with controls representing this contribution item.
`Menu` `IMenuCreator.getMenu(Menu parent)` Returns an SWT menu created as a drop down menu parented by the given menu.

Uses of Menu in org.eclipse.jface.menus

Methods in org.eclipse.jface.menus with parameters of type Menu
`void` `IWidget.fill(Menu parent, int index)` Fills the given menu with controls representing this widget.
`void` `AbstractTrimWidget.fill(Menu parent, int index)`

Uses of Menu in org.eclipse.jface.text.source

Methods in org.eclipse.jface.text.source with parameters of type Menu
`void` `IVerticalRulerListener.annotationContextMenuAboutToShow(VerticalRulerEvent event, Menu menu)` Called when the context menu is opened on an annotation in the vertical ruler.
`void` `CompositeRuler.fireAnnotationContextMenuAboutToShow(VerticalRulerEvent event, Menu menu)` Informs all registered vertical ruler listeners that the content menu on a selected annotation\ is about to be shown.

Uses of Menu in org.eclipse.swt.custom

Methods in org.eclipse.swt.custom that return Menu
`Menu` `CCombo.getMenu()`

Methods in org.eclipse.swt.custom with parameters of type Menu
`void` `TableTree.setMenu(Menu menu)` Deprecated.
`void` `CCombo.setMenu(Menu menu)`

Uses of Menu in org.eclipse.swt.widgets

Methods in org.eclipse.swt.widgets that return Menu
`Menu` `Control.getMenu()` Returns the receiver's pop up menu if it has one, or null if it does not.
`Menu` `MenuItem.getMenu()` Returns the receiver's cascade menu if it has one or null if it does not.
`Menu` `TaskItem.getMenu()` Returns the receiver's pop up menu if it has one, or null if it does not.
`Menu` `Decorations.getMenuBar()` Returns the receiver's menu bar if one had previously been set, otherwise returns null.
`Menu` `Display.getMenuBar()` Returns the single instance of the application menu bar, or `null` if there is no application menu bar for the platform.
`Menu` `MenuItem.getParent()` Returns the receiver's parent, which must be a `Menu`.
`Menu` `Menu.getParentMenu()` Returns the receiver's parent item, which must be a `Menu` or null when the receiver is a root.
`Menu` `Display.getSystemMenu()` Returns the single instance of the system-provided menu for the application, or `null` on platforms where no menu is provided for the application.

Methods in org.eclipse.swt.widgets with parameters of type Menu
`void` `Control.setMenu(Menu menu)` Sets the receiver's pop up menu to the argument.
`void` `MenuItem.setMenu(Menu menu)` Sets the receiver's pull down menu to the argument.
`void` `TaskItem.setMenu(Menu menu)` Sets the receiver's pop up menu to the argument.
`void` `Decorations.setMenuBar(Menu menu)` Sets the receiver's menu bar to the argument, which may be null.

Constructors in org.eclipse.swt.widgets with parameters of type Menu
`Menu(Menu parentMenu)` Constructs a new instance of this class given its parent (which must be a `Menu`) and sets the style for the instance so that the instance will be a drop-down menu on the given parent's parent.
`MenuItem(Menu parent, int style)` Constructs a new instance of this class given its parent (which must be a `Menu`) and a style value describing its behavior and appearance.
`MenuItem(Menu parent, int style, int index)` Constructs a new instance of this class given its parent (which must be a `Menu`), a style value describing its behavior and appearance, and the index at which to place it in the items maintained by its parent.

Uses of Menu in org.eclipse.ui

Methods in org.eclipse.ui that return Menu
`Menu` `IWorkbenchWindowPulldownDelegate.getMenu(Control parent)` Returns the menu for this pull down action.
`Menu` `IWorkbenchWindowPulldownDelegate2.getMenu(Menu parent)` Returns the menu for this pull down action.

Methods in org.eclipse.ui with parameters of type Menu
`Menu` `IWorkbenchWindowPulldownDelegate2.getMenu(Menu parent)` Returns the menu for this pull down action.

Uses of Menu in org.eclipse.ui.actions

Methods in org.eclipse.ui.actions with parameters of type Menu
`void` `PerspectiveMenu.fill(Menu menu, int index)`
`void` `CompoundContributionItem.fill(Menu menu, int index)`
`void` `OpenWithMenu.fill(Menu menu, int index)`

Uses of Menu in org.eclipse.ui.application

Methods in org.eclipse.ui.application that return Menu
`Menu` `IWorkbenchWindowConfigurer.createMenuBar()` Creates the menu bar for the window's shell.

Uses of Menu in org.eclipse.ui.forms.widgets

Methods in org.eclipse.ui.forms.widgets with parameters of type Menu
`void` `FormText.setMenu(Menu menu)` Disposes the internal menu if created and sets the menu provided as a parameter.
`void` `Form.setMenu(Menu menu)` Passes the menu to the form body.
`void` `ExpandableComposite.setMenu(Menu menu)` Overrides 'super' to pass the menu to the text label.
`void` `ScrolledForm.setMenu(Menu menu)` Passes the menu to the body.

Uses of Menu in org.eclipse.ui.help

Methods in org.eclipse.ui.help with parameters of type Menu
`static Object` `WorkbenchHelp.getHelp(Menu menu)` Deprecated. as context computers are no longer supported
`static void` `WorkbenchHelp.setHelp(Menu menu, IContextComputer computer)` Deprecated. context computers are no longer supported, clients should implement their own help listener
`static void` `WorkbenchHelp.setHelp(Menu menu, Object[] contexts)` Deprecated. use setHelp with single context id parameter
`static void` `WorkbenchHelp.setHelp(Menu menu, String contextId)` Deprecated. Sets the given help context id on the given menu.
`void` `IWorkbenchHelpSystem.setHelp(Menu menu, String contextId)` Sets the given help context id on the given menu.

Uses of Menu in org.eclipse.ui.menus

Methods in org.eclipse.ui.menus with parameters of type Menu
`void` `CommandContributionItem.fill(Menu parent, int index)`

Uses of Menu in org.eclipse.ui.texteditor

Methods in org.eclipse.ui.texteditor with parameters of type Menu
`void` `SelectAnnotationRulerAction.annotationContextMenuAboutToShow(VerticalRulerEvent event, Menu menu)`

Eclipse Platform Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.