Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.swtbot.swt.finder.finders
Class ContextMenuFinder

    java.lang.Object
      org.eclipse.swtbot.swt.finder.finders.MenuFinder
          org.eclipse.swtbot.swt.finder.finders.ContextMenuFinder

    public class ContextMenuFinder

extends MenuFinder

Finds context menus for a given control.

Version:
  $Id$
Author:
  Ketan Padegaonkar <KetanPadegaonkar [at] gmail [dot] com>
See Also:
  `UIThreadRunnable`

Field Summary

Fields inherited from class org.eclipse.swtbot.swt.finder.finders.MenuFinder
`display`

Constructor Summary
`ContextMenuFinder(Control control)` Constructs the context menu finder for the given control to be searched.

Method Summary
`protected Menu` | `menuBar(Shell shell)` Gets the menubar for the given shell.

Methods inherited from class org.eclipse.swtbot.swt.finder.finders.MenuFinder
`findMenus, findMenus, findMenus, findMenus, getShells`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ContextMenuFinder

    public ContextMenuFinder(Control control)

  Constructs the context menu finder for the given control to be searched.

  Parameters:
    `control` - the control that has a context menu.

Method Detail

### menuBar

    protected Menu menuBar(Shell shell)

  Gets the menubar for the given shell.

  Overrides:
    `menuBar` in class `MenuFinder`
  Parameters:
    `shell` - The shell to find the menu bar for.
  Returns:
    The menu bar found.
  See Also:
    `MenuFinder.menuBar(org.eclipse.swt.widgets.Shell)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD