Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV NEXT | FRAMES NO FRAMES

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

Packages that use MenuItem
org.eclipse.swt.ole.win32 | SWT Win32 OLE implementation classes.
org.eclipse.swt.widgets | SWT widget public API classes.
org.eclipse.ui.help | Classes for integration with the help support system in the Eclipse Platform User Interface.

Uses of MenuItem in org.eclipse.swt.ole.win32

Methods in org.eclipse.swt.ole.win32 that return MenuItem
`MenuItem[]` | `OleFrame.getContainerMenus()` Returns the application menu items that will appear in the Container location when an OLE Document is in-place activated.
`MenuItem[]` | `OleFrame.getFileMenus()` Returns the application menu items that will appear in the File location when an OLE Document is in-place activated.
`MenuItem[]` | `OleFrame.getWindowMenus()` Returns the application menu items that will appear in the Window location when an OLE Document is in-place activated.

Methods in org.eclipse.swt.ole.win32 with parameters of type MenuItem
`void` | `OleFrame.setContainerMenus(MenuItem[] containerMenus)` Specify the menu items that should appear in the Container location when an OLE Document is in-place activated.
`void` | `OleFrame.setFileMenus(MenuItem[] fileMenus)` Specify the menu items that should appear in the File location when an OLE Document is in-place activated.
`void` | `OleFrame.setWindowMenus(MenuItem[] windowMenus)` Set the menu items that should appear in the Window location when an OLE Document is in-place activated.

Uses of MenuItem in org.eclipse.swt.widgets

Methods in org.eclipse.swt.widgets that return MenuItem
`MenuItem` | `Menu.getDefaultItem()` Returns the default menu item or null if none has been previously set.
`MenuItem` | `Menu.getItem(int index)` Returns the item at the given, zero-relative index in the receiver.
`MenuItem[]` | `Menu.getItems()` Returns an array of `MenuItem`s which are the items in the receiver.
`MenuItem` | `Menu.getParentItem()` Returns the receiver's parent item, which must be a `MenuItem` or null when the receiver is a root.

Methods in org.eclipse.swt.widgets with parameters of type MenuItem
`int` | `Menu.indexOf(MenuItem item)` Searches the receiver's list starting at the first item (index 0) until an item is found that is equal to the argument, and returns the index of that item.
`void` | `Menu.setDefaultItem(MenuItem item)` Sets the default menu item to the argument or removes the default emphasis when the argument is `null`.

Constructors in org.eclipse.swt.widgets with parameters of type MenuItem
`Menu(MenuItem parentItem)` Constructs a new instance of this class given its parent (which must be a `MenuItem`) and sets the style for the instance so that the instance will be a drop-down menu on the given parent's parent menu.

Uses of MenuItem in org.eclipse.ui.help

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse Platform Release 3.0
PREV NEXT | FRAMES NO FRAMES

Guidelines for using Eclipse APIs.

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