Uses of Class
org.eclipse.swt.widgets.Menu
Package
Description
Provides a set of actions related to running and debugging applications.
Provides support for shared UI resources such as menus,
tool bars, and status lines.
Provides support for trim specification.
Provides a framework for connecting document regions
with annotations and for displaying those.
SWT Custom widgets.
SWT widget public API classes.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
Custom widgets and controls for forms-based parts.
Classes for integration with the help support system
in the Eclipse Platform User Interface.
Provides the public API and default implementation for contributing menu
and toolbars to the menu service.
Provides a framework for text editors obeying to the
desktop rules.
-
Uses of Menu in org.eclipse.debug.ui.actions
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Modifier and TypeMethodDescriptionprotected void
AbstractLaunchHistoryAction.addSeparator
(Menu menu) Adds a separator to the given menuprotected void
Adds the given action to the specified menu with an accelerator specified by the given number.protected void
Fills the drop-down menu with favorites and launch historyprotected void
Fills the drop-down menu with favorites and launch history, launch shortcuts, and an action to open the launch configuration dialog.protected void
Fills the menu with applicable launch shortcutsDeprecated.Deprecated. -
Uses of Menu in org.eclipse.e4.ui.workbench.renderers.swt
Modifier and TypeMethodDescriptionvoid
protected void
StackRenderer.populateTabMenu
(Menu menu, MPart part) Populate the tab's context menu for the given part. -
Uses of Menu in org.eclipse.jface.action
Modifier and TypeMethodDescriptionMenuManager.createContextMenu
(Control parent) Creates and returns an SWT context menu control for this menu, and installs all registered contributions.MenuManager.createMenuBar
(Decorations parent) Creates and returns an SWT menu bar control for this menu, for use in the givenDecorations
, and installs all registered contributions.MenuManager.createMenuBar
(Shell parent) Deprecated.Returns the SWT menu, created as a pop up menu parented by the given control.Returns an SWT menu created as a drop down menu parented by the given menu.MenuManager.getMenu()
Returns the SWT menu control for this menu manager.Modifier and TypeMethodDescriptionvoid
TheActionContributionItem
implementation of thisIContributionItem
method creates an SWTMenuItem
for the action using the action's style.void
The default implementation of thisIContributionItem
method does nothing.final void
The control item implementation of thisIContributionItem
method throws an exception since controls cannot be added to menus.void
Fills the given menu with controls representing this contribution item.void
void
void
void
Returns an SWT menu created as a drop down menu parented by the given menu. -
Uses of Menu in org.eclipse.jface.text.source
Modifier and TypeMethodDescriptionvoid
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.jface.widgets
Modifier and TypeMethodDescriptionShellFactory.menuBar
(Function<Decorations, Menu> menuFunction) Sets the shell's menu bar by aFunction
. -
Uses of Menu in org.eclipse.swt.custom
-
Uses of Menu in org.eclipse.swt.widgets
Modifier and TypeMethodDescriptionControl.getMenu()
Returns the receiver's pop up menu if it has one, or null if it does not.MenuItem.getMenu()
Returns the receiver's cascade menu if it has one or null if it does not.TaskItem.getMenu()
Returns the receiver's pop up menu if it has one, or null if it does not.Decorations.getMenuBar()
Returns the receiver's menu bar if one had previously been set, otherwise returns null.Display.getMenuBar()
Returns the single instance of the application menu bar, ornull
if there is no application menu bar for the platform.MenuItem.getParent()
Returns the receiver's parent, which must be aMenu
.Menu.getParentMenu()
Returns the receiver's parent item, which must be aMenu
or null when the receiver is a root.Display.getSystemMenu()
Returns the single instance of the system-provided menu for the application, ornull
on platforms where no menu is provided for the application.Modifier and TypeMethodDescriptionvoid
Sets the receiver's pop up menu to the argument.void
Sets the receiver's pull down menu to the argument.void
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.ModifierConstructorDescriptionConstructs a new instance of this class given its parent (which must be aMenu
) and sets the style for the instance so that the instance will be a drop-down menu on the given parent's parent.Constructs a new instance of this class given its parent (which must be aMenu
) and a style value describing its behavior and appearance.Constructs a new instance of this class given its parent (which must be aMenu
), 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
Modifier and TypeMethodDescriptionReturns the menu for this pull down action.Returns the menu for this pull down action. -
Uses of Menu in org.eclipse.ui.actions
-
Uses of Menu in org.eclipse.ui.forms.widgets
Modifier and TypeMethodDescriptionvoid
Overrides 'super' to pass the menu to the text label.void
Passes the menu to the form body.void
Disposes the internal menu if created and sets the menu provided as a parameter.void
Passes the menu to the body. -
Uses of Menu in org.eclipse.ui.help
-
Uses of Menu in org.eclipse.ui.internal
Modifier and TypeMethodDescriptionvoid
void
Fills the given menu with menu items for all windows.void
void
void
Fills the given menu with menu items for all opened workbench windows.void
Adds a menu item for the working set. -
Uses of Menu in org.eclipse.ui.texteditor
Modifier and TypeMethodDescriptionvoid
SelectAnnotationRulerAction.annotationContextMenuAboutToShow
(VerticalRulerEvent event, Menu menu)
createMenuBar(Decorations)
instead.