Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Menu |
ContextualLaunchAction.getMenu(Control parent) |
Menu |
AbstractLaunchHistoryAction.getMenu(Control parent) |
Menu |
LaunchAsAction.getMenu(Control parent)
Deprecated.
|
Menu |
LaunchShortcutsAction.getMenu(Control parent) |
Menu |
RulerBreakpointTypesActionDelegate.getMenu(Control parent)
Deprecated.
|
Menu |
ContextualLaunchAction.getMenu(Menu parent) |
Menu |
AbstractLaunchHistoryAction.getMenu(Menu parent) |
Menu |
LaunchAsAction.getMenu(Menu parent)
Deprecated.
|
Menu |
LaunchShortcutsAction.getMenu(Menu parent) |
Menu |
RulerBreakpointTypesActionDelegate.getMenu(Menu parent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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 |
ContextualLaunchAction.fillMenu(Menu menu)
Fills the menu with applicable launch shortcuts
|
protected void |
AbstractLaunchHistoryAction.fillMenu(Menu menu)
Fills the drop-down menu with favorites and launch history
|
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 |
ContextualLaunchAction.getMenu(Menu parent) |
Menu |
AbstractLaunchHistoryAction.getMenu(Menu parent) |
Menu |
LaunchAsAction.getMenu(Menu parent)
Deprecated.
|
Menu |
LaunchShortcutsAction.getMenu(Menu parent) |
Menu |
RulerBreakpointTypesActionDelegate.getMenu(Menu parent)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
MenuManager.fill(Menu parent,
int index) |
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 |
SubMenuManager.fill(Menu parent,
int index) |
void |
ContributionItem.fill(Menu menu,
int index)
The default implementation of this
IContributionItem
method does nothing. |
void |
Separator.fill(Menu menu,
int index) |
void |
IContributionItem.fill(Menu parent,
int index)
Fills the given menu with controls representing this contribution item.
|
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 |
SubContributionItem.fill(Menu parent,
int index) |
Menu |
IMenuCreator.getMenu(Menu parent)
Returns an SWT menu created as a drop down menu parented by the
given menu.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractTrimWidget.fill(Menu parent,
int index) |
void |
IWidget.fill(Menu parent,
int index)
Fills the given menu with controls representing this widget.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Menu |
CCombo.getMenu() |
Modifier and Type | Method and Description |
---|---|
void |
CCombo.setMenu(Menu menu) |
void |
TableTree.setMenu(Menu menu)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Menu |
TaskItem.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 |
Control.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. |
Modifier and Type | Method and Description |
---|---|
void |
TaskItem.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 |
Control.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.
|
Constructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Menu |
IWorkbenchWindowPulldownDelegate2.getMenu(Menu parent)
Returns the menu for this pull down action.
|
Modifier and Type | Method and Description |
---|---|
void |
PerspectiveMenu.fill(Menu menu,
int index) |
void |
CompoundContributionItem.fill(Menu menu,
int index) |
void |
OpenWithMenu.fill(Menu menu,
int index) |
Modifier and Type | Method and Description |
---|---|
Menu |
IWorkbenchWindowConfigurer.createMenuBar()
Deprecated.
This method is no longer used. Applications now define
workbench window contents in their application model.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
Form.setMenu(Menu menu)
Passes the menu to the form body.
|
void |
FormText.setMenu(Menu menu)
Disposes the internal menu if created and sets the menu provided as a
parameter.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandContributionItem.fill(Menu parent,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
SelectAnnotationRulerAction.annotationContextMenuAboutToShow(VerticalRulerEvent event,
Menu menu) |
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.