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.eclipse.finder.finders
Class ViewMenuFinder

    java.lang.Object
      org.eclipse.swtbot.eclipse.finder.finders.ViewMenuFinder

    public class ViewMenuFinder

extends Object

Finds the menu items within a view.

Since:
  1.2
Version:
  $Id$
Author:
  @author Stephen Paulin <paulin [at] spextreme [dot] com>

Constructor Summary
`ViewMenuFinder()` Creates a MenuFinder.

Method Summary
`List<SWTBotViewMenu>` | `findMenus(IViewReference view, Matcher<?> matcher, boolean recursive)` Gets a list of all menus within the view.

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

Constructor Detail

### ViewMenuFinder

    public ViewMenuFinder()

  Creates a MenuFinder.

Method Detail

### findMenus

    public List<SWTBotViewMenu> findMenus(IViewReference view,
                                          Matcher<?> matcher,
                                          boolean recursive)

  Gets a list of all menus within the view.

  Parameters:
    `view` - the view to probe for menus.
    `matcher` - the matcher that can match menus and menu items.
    `recursive` - if set to `true`, will find sub-menus as well.
  Returns:
    The list of menus (IContributionItems) that match the matcher.
  Since:
    2.0

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